mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-04 01:59:38 +02: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