1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-04-11 21:15:44 +02:00

Fix a missing 'Clear columns' button after re-enabling the clear-columns plugin

This commit is contained in:
chylex 2018-07-09 13:20:58 +02:00
parent dfd578165b
commit c5a6738199

View File

@ -104,6 +104,7 @@ enabled(){
window.TDPF_injectMustache("column/column_header.mustache", "prepend", "<a data-testid=\"optionsToggle\"", this.btnClearOneHTML);
if (TD.ready){
$(".js-header-add-column").after(this.btnClearAllHTML);
$("a[data-testid='optionsToggle']", ".js-column-header").before(this.btnClearOneHTML);
}