Reset ui.popup.disable_autohide
Some checks failed
CI / Build, Upload, Test (push) Has been cancelled

Closes #4674
This commit is contained in:
Dan Stillman 2024-09-08 01:47:16 -04:00
parent 5233e0f487
commit 42219772a7

View file

@ -44,7 +44,7 @@ Zotero.Prefs = new function() {
// Process pref version updates // Process pref version updates
var fromVersion = this.get('prefVersion'); var fromVersion = this.get('prefVersion');
var toVersion = 12; var toVersion = 13;
if (!fromVersion) { if (!fromVersion) {
this.set('prefVersion', toVersion); this.set('prefVersion', toVersion);
} }
@ -142,6 +142,12 @@ Zotero.Prefs = new function() {
case 12: case 12:
Zotero.Prefs.set('firstRunGuidanceShown.z7Banner', false); Zotero.Prefs.set('firstRunGuidanceShown.z7Banner', false);
break; 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); this.set('prefVersion', toVersion);