Reset ui.popup.disable_autohide
Some checks failed
CI / Build, Upload, Test (push) Has been cancelled
Some checks failed
CI / Build, Upload, Test (push) Has been cancelled
Closes #4674
This commit is contained in:
parent
5233e0f487
commit
42219772a7
1 changed files with 7 additions and 1 deletions
|
@ -44,7 +44,7 @@ Zotero.Prefs = new function() {
|
|||
|
||||
// Process pref version updates
|
||||
var fromVersion = this.get('prefVersion');
|
||||
var toVersion = 12;
|
||||
var toVersion = 13;
|
||||
if (!fromVersion) {
|
||||
this.set('prefVersion', toVersion);
|
||||
}
|
||||
|
@ -142,6 +142,12 @@ Zotero.Prefs = new function() {
|
|||
case 12:
|
||||
Zotero.Prefs.set('firstRunGuidanceShown.z7Banner', false);
|
||||
break;
|
||||
|
||||
// Reset popup pref if changed by plugins
|
||||
// https://github.com/windingwind/zotero-plugin-toolkit/commit/47fc9ddea
|
||||
case 13:
|
||||
Zotero.Prefs.clear('ui.popup.disable_autohide', true);
|
||||
break;
|
||||
}
|
||||
}
|
||||
this.set('prefVersion', toVersion);
|
||||
|
|
Loading…
Reference in a new issue