From c8e8b94d28dbfc9c73140b298aef5497f6195db2 Mon Sep 17 00:00:00 2001 From: tophf Date: Sat, 8 Apr 2017 15:22:15 +0300 Subject: [PATCH] popup: invoke openURL explicitly --- popup.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/popup.js b/popup.js index e887bebd..0ad30bd8 100644 --- a/popup.js +++ b/popup.js @@ -61,8 +61,7 @@ function initPopup(url) { installed.classList.toggle('disabled', prefs.get('disableAll')); setupLivePrefs(['disableAll']); $('#find-styles-link').onclick = handleEvent.openURLandHide; - $('#popup-manage-button').href = 'manage.html'; - $('#popup-manage-button').onclick = handleEvent.openURLandHide; + $('#popup-manage-button').onclick = () => openURL({url: 'manage.html'}); $('#popup-options-button').onclick = () => chrome.runtime.openOptionsPage(); $('#popup-shortcuts-button').onclick = configureCommands.open;