mirror of https://github.com/gorhill/uBlock.git
Unconditionally listen to listset changes
This commit is contained in:
parent
34d2a4ea2a
commit
ec70f1d99e
|
@ -273,12 +273,6 @@ uBlockDashboard.patchCodeMirrorEditor(cmEditor);
|
|||
updateFilterLists();
|
||||
ev.preventDefault();
|
||||
});
|
||||
vAPI.broadcastListener.add(msg => {
|
||||
if ( msg.what !== 'staticFilteringDataChanged' ) { return; }
|
||||
showSupportData();
|
||||
dom.cl.remove(dom.body, 'updating');
|
||||
dom.cl.add(dom.body, 'updated');
|
||||
});
|
||||
}
|
||||
|
||||
dom.on('[data-i18n="supportReportSpecificButton"]', 'click', ev => {
|
||||
|
@ -304,6 +298,13 @@ uBlockDashboard.patchCodeMirrorEditor(cmEditor);
|
|||
});
|
||||
}
|
||||
|
||||
vAPI.broadcastListener.add(msg => {
|
||||
if ( msg.what !== 'staticFilteringDataChanged' ) { return; }
|
||||
showSupportData();
|
||||
dom.cl.remove(dom.body, 'updating');
|
||||
dom.cl.add(dom.body, 'updated');
|
||||
});
|
||||
|
||||
dom.on('#selectAllButton', 'click', ( ) => {
|
||||
cmEditor.focus();
|
||||
cmEditor.execCommand('selectAll');
|
||||
|
|
Loading…
Reference in New Issue