Don't try to set lastLocale pref in doc prefs unless locale was changed
This commit is contained in:
parent
3a5854f49f
commit
ddf3ff9ba9
1 changed files with 3 additions and 1 deletions
|
@ -264,6 +264,8 @@ var Zotero_File_Interface_Bibliography = new function() {
|
|||
}
|
||||
|
||||
// save locale
|
||||
Zotero.Prefs.set("export.lastLocale", lastSelectedLocale);
|
||||
if (lastSelectedLocale) {
|
||||
Zotero.Prefs.set("export.lastLocale", lastSelectedLocale);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue