From 41cd4e9637336bc78c4b0276d246cfdd656dc1b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberto=20Garci=CC=81a=20Hierro?= Date: Fri, 6 Oct 2017 22:00:19 +0100 Subject: [PATCH] Optimize the selector for the "Load Firmware" button As requested by @DzikuVx. I haven't profiled the code, but I trust his instincts. And so should you. --- tabs/firmware_flasher.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tabs/firmware_flasher.js b/tabs/firmware_flasher.js index b709806a..9ebf6a9f 100755 --- a/tabs/firmware_flasher.js +++ b/tabs/firmware_flasher.js @@ -28,7 +28,7 @@ TABS.firmware_flasher.initialize = function (callback) { localize(); function enable_load_online_button() { - $("a.load_remote_file").text(chrome.i18n.getMessage('firmwareFlasherButtonLoadOnline')).removeClass('disabled'); + $(".load_remote_file").text(chrome.i18n.getMessage('firmwareFlasherButtonLoadOnline')).removeClass('disabled'); } function parse_hex(str, callback) {