Revert "Fix empty Quick Copy locale dropdown"
This reverts commit 0dfe276d9b
.
Causing a hang when some people mouse over the Export tab:
https://forums.zotero.org/discussion/111956/zotero-7-beta-freezes-in-the-settings-panel
This commit is contained in:
parent
009a2ca38a
commit
5940b63908
1 changed files with 3 additions and 4 deletions
|
@ -69,12 +69,11 @@ Zotero_Preferences.Export = {
|
|||
// Initialize locale drop-down
|
||||
var localeMenulist = document.getElementById("zotero-quickCopy-locale-menu");
|
||||
Zotero.Styles.populateLocaleList(localeMenulist);
|
||||
localeMenulist.addEventListener('syncfrompreference', () => {
|
||||
this._lastSelectedLocale = Zotero.Prefs.get("export.quickCopy.locale");
|
||||
this.updateQuickCopyUI();
|
||||
});
|
||||
localeMenulist.setAttribute('preference', "extensions.zotero.export.quickCopy.locale");
|
||||
|
||||
this._lastSelectedLocale = Zotero.Prefs.get("export.quickCopy.locale");
|
||||
this.updateQuickCopyUI();
|
||||
|
||||
yield this.refreshQuickCopySiteList();
|
||||
}),
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue