mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Fix disabled state of new benchmark buttons
This commit is contained in:
parent
43e0e15125
commit
270040d466
1 changed files with 2 additions and 0 deletions
|
|
@ -187,6 +187,7 @@ vAPI.messaging.send('dashboard', {
|
|||
dom.attr(button, 'disabled', null);
|
||||
});
|
||||
});
|
||||
dom.attr('#cfe-benchmark', 'disabled', null);
|
||||
dom.on('#cfe-benchmark', 'click', ev => {
|
||||
const button = ev.target;
|
||||
dom.attr(button, 'disabled', '');
|
||||
|
|
@ -197,6 +198,7 @@ vAPI.messaging.send('dashboard', {
|
|||
dom.attr(button, 'disabled', null);
|
||||
});
|
||||
});
|
||||
dom.attr('#sfe-benchmark', 'disabled', null);
|
||||
dom.on('#sfe-benchmark', 'click', ev => {
|
||||
const button = ev.target;
|
||||
dom.attr(button, 'disabled', '');
|
||||
|
|
|
|||
Loading…
Reference in a new issue