diff --git a/src/about.html b/src/about.html
index 9e367503e..71a321ec7 100644
--- a/src/about.html
+++ b/src/about.html
@@ -42,7 +42,7 @@
-
+
diff --git a/src/js/about.js b/src/js/about.js
index b2e3d98c4..212abae8c 100644
--- a/src/js/about.js
+++ b/src/js/about.js
@@ -43,13 +43,14 @@
document.getElementById('dev').classList.add('enabled');
- const sfneBenchmark = async ( ) => {
- const result = await vAPI.messaging.send('dashboard', {
+ document.getElementById('sfneBenchmark').addEventListener('click', ev => {
+ const button = ev.target;
+ button.setAttribute('disabled', '');
+ vAPI.messaging.send('dashboard', {
what: 'sfneBenchmark',
+ }).then(result => {
+ document.getElementById('sfneBenchmarkResult').textContent = result;
+ button.removeAttribute('disabled');
});
- document.getElementById('sfneBenchmarkResult').textContent = result;
- };
- document.getElementById('sfneBenchmark').addEventListener('click', ( ) => {
- sfneBenchmark();
});
})();