mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-23 19:03:02 +01:00
code review re. #1997: be sure the setting is persisted
This commit is contained in:
parent
269c35a04a
commit
ef0a7ed5cb
@ -214,7 +214,10 @@
|
||||
µBlock.openNewTab = function(details) {
|
||||
if ( details.url.startsWith('logger-ui.html') ) {
|
||||
if ( details.shiftKey ) {
|
||||
this.userSettings.alwaysDetachLogger = !this.userSettings.alwaysDetachLogger;
|
||||
this.changeUserSettings(
|
||||
'alwaysDetachLogger',
|
||||
!this.userSettings.alwaysDetachLogger
|
||||
);
|
||||
}
|
||||
details.popup = this.userSettings.alwaysDetachLogger;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user