Fix: allow activating manager in other windows
This commit is contained in:
parent
fca1c13a8c
commit
c1ea0d1a7d
|
@ -179,10 +179,10 @@ chrome.runtime.onInstalled.addListener(({reason}) => {
|
|||
// browser commands
|
||||
browserCommands = {
|
||||
openManage() {
|
||||
openURL({url: 'manage.html'});
|
||||
openURL({url: 'manage.html', currentWindow: null});
|
||||
},
|
||||
openOptions() {
|
||||
openURL({url: 'manage.html#stylus-options'});
|
||||
openURL({url: 'manage.html#stylus-options', currentWindow: null});
|
||||
},
|
||||
styleDisableAll(info) {
|
||||
prefs.set('disableAll', info ? info.checked : !prefs.get('disableAll'));
|
||||
|
|
Loading…
Reference in New Issue
Block a user