manage: open external links with openURL()
This commit is contained in:
parent
1cf904b135
commit
3d163df853
|
@ -31,7 +31,7 @@ function initGlobalEvents() {
|
|||
$('#search').oninput = searchStyles;
|
||||
$('#manage-options-button').onclick = () => chrome.runtime.openOptionsPage();
|
||||
$('#manage-shortcuts-button').onclick = configureCommands.open;
|
||||
$('#find-editor-styles').onclick = EntryOnClick.external;
|
||||
$$('#header a[href^="http"]').forEach(a => (a.onclick = EntryOnClick.external));
|
||||
|
||||
// focus search field on / key
|
||||
document.onkeypress = event => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user