mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +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(button, 'disabled', null);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
dom.attr('#cfe-benchmark', 'disabled', null);
|
||||||
dom.on('#cfe-benchmark', 'click', ev => {
|
dom.on('#cfe-benchmark', 'click', ev => {
|
||||||
const button = ev.target;
|
const button = ev.target;
|
||||||
dom.attr(button, 'disabled', '');
|
dom.attr(button, 'disabled', '');
|
||||||
@ -197,6 +198,7 @@ vAPI.messaging.send('dashboard', {
|
|||||||
dom.attr(button, 'disabled', null);
|
dom.attr(button, 'disabled', null);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
dom.attr('#sfe-benchmark', 'disabled', null);
|
||||||
dom.on('#sfe-benchmark', 'click', ev => {
|
dom.on('#sfe-benchmark', 'click', ev => {
|
||||||
const button = ev.target;
|
const button = ev.target;
|
||||||
dom.attr(button, 'disabled', '');
|
dom.attr(button, 'disabled', '');
|
||||||
|
Loading…
Reference in New Issue
Block a user