Fix two JS strict warnings
This commit is contained in:
parent
6d100324e4
commit
6f02e0d867
|
@ -20,7 +20,7 @@
|
||||||
***** END LICENSE BLOCK *****
|
***** END LICENSE BLOCK *****
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Zotero_Charset_Menu = new function() {
|
var Zotero_Charset_Menu = new function() {
|
||||||
this.populate = populate;
|
this.populate = populate;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -40,8 +40,10 @@ function init()
|
||||||
initSearchPane();
|
initSearchPane();
|
||||||
|
|
||||||
var charsetMenu = document.getElementById("zotero-import-charsetMenu");
|
var charsetMenu = document.getElementById("zotero-import-charsetMenu");
|
||||||
charsetMap = Zotero_Charset_Menu.populate(charsetMenu, false);
|
var charsetMap = Zotero_Charset_Menu.populate(charsetMenu, false);
|
||||||
charsetMenu.selectedItem = charsetMap[Zotero.Prefs.get("import.charset")] ? charsetMap[Zotero.Prefs.get("import.charset")] : charsetMap["auto"];
|
charsetMenu.selectedItem =
|
||||||
|
charsetMap[Zotero.Prefs.get("import.charset")] ?
|
||||||
|
charsetMap[Zotero.Prefs.get("import.charset")] : charsetMap["auto"];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user