parent
43d9d604a6
commit
0dfe276d9b
1 changed files with 4 additions and 3 deletions
|
@ -69,10 +69,11 @@ Zotero_Preferences.Export = {
|
|||
// Initialize locale drop-down
|
||||
var localeMenulist = document.getElementById("zotero-quickCopy-locale-menu");
|
||||
Zotero.Styles.populateLocaleList(localeMenulist);
|
||||
localeMenulist.setAttribute('preference', "extensions.zotero.export.quickCopy.locale");
|
||||
|
||||
localeMenulist.addEventListener('syncfrompreference', () => {
|
||||
this._lastSelectedLocale = Zotero.Prefs.get("export.quickCopy.locale");
|
||||
this.updateQuickCopyUI();
|
||||
});
|
||||
localeMenulist.setAttribute('preference', "extensions.zotero.export.quickCopy.locale");
|
||||
|
||||
yield this.refreshQuickCopySiteList();
|
||||
}),
|
||||
|
|
Loading…
Reference in a new issue