mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-05-02 11:34:08 +02:00
Fix a missing 'Clear columns' button after re-enabling the clear-columns plugin
This commit is contained in:
parent
dfd578165b
commit
c5a6738199
@ -104,6 +104,7 @@ enabled(){
|
|||||||
window.TDPF_injectMustache("column/column_header.mustache", "prepend", "<a data-testid=\"optionsToggle\"", this.btnClearOneHTML);
|
window.TDPF_injectMustache("column/column_header.mustache", "prepend", "<a data-testid=\"optionsToggle\"", this.btnClearOneHTML);
|
||||||
|
|
||||||
if (TD.ready){
|
if (TD.ready){
|
||||||
|
$(".js-header-add-column").after(this.btnClearAllHTML);
|
||||||
$("a[data-testid='optionsToggle']", ".js-column-header").before(this.btnClearOneHTML);
|
$("a[data-testid='optionsToggle']", ".js-column-header").before(this.btnClearOneHTML);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user