popup: invoke openURL explicitly

This commit is contained in:
tophf 2017-04-08 15:22:15 +03:00
parent ff84e924fa
commit c8e8b94d28

View File

@ -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;