mirror of
https://github.com/gorhill/uBlock.git
synced 2024-07-05 11:37:01 +02:00
Fix disabled state of new benchmark buttons
This commit is contained in:
parent
43e0e15125
commit
270040d466
|
@ -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 New Issue
Block a user