From 270040d4660da9f78e10669ee90e6e5bacce9efa Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Sun, 3 Mar 2024 13:46:29 -0500 Subject: [PATCH] Fix disabled state of new benchmark buttons --- src/js/devtools.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/js/devtools.js b/src/js/devtools.js index 7d7938965..0763b0be8 100644 --- a/src/js/devtools.js +++ b/src/js/devtools.js @@ -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', '');