Skip to content

Commit

Permalink
Fix error in export options window if translator has no options
Browse files Browse the repository at this point in the history
  • Loading branch information
dstillman committed Jul 5, 2017
1 parent 53c3f62 commit 5ff5ea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chrome/content/zotero/exportOptions.js
Expand Up @@ -162,7 +162,7 @@ var Zotero_File_Interface_Export = new function() {
}

// handle charset popup
if(_charsets && translatorOptions.exportCharset) {
if(_charsets && translatorOptions && translatorOptions.exportCharset) {
optionsBox.hidden = undefined;
document.getElementById("charset-box").hidden = undefined;
var charsetMenu = document.getElementById(OPTION_PREFIX+"exportCharset");
Expand Down

0 comments on commit 5ff5ea8

Please sign in to comment.