Fix error in export options window if translator has no options
This commit is contained in:
parent
53c3f62f1e
commit
5ff5ea88fb
|
@ -162,7 +162,7 @@ var Zotero_File_Interface_Export = new function() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// handle charset popup
|
// handle charset popup
|
||||||
if(_charsets && translatorOptions.exportCharset) {
|
if(_charsets && translatorOptions && translatorOptions.exportCharset) {
|
||||||
optionsBox.hidden = undefined;
|
optionsBox.hidden = undefined;
|
||||||
document.getElementById("charset-box").hidden = undefined;
|
document.getElementById("charset-box").hidden = undefined;
|
||||||
var charsetMenu = document.getElementById(OPTION_PREFIX+"exportCharset");
|
var charsetMenu = document.getElementById(OPTION_PREFIX+"exportCharset");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user