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.
pull/269/head
Alberto García Hierro 7 years ago
parent eae7af4565
commit 41cd4e9637

@ -28,7 +28,7 @@ TABS.firmware_flasher.initialize = function (callback) {
localize(); localize();
function enable_load_online_button() { 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) { function parse_hex(str, callback) {

Loading…
Cancel
Save