From fb71afd78fe702ef45c641dd8693ce7d3fffcb58 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Wed, 20 May 2015 23:04:24 -0300 Subject: [PATCH] fix undefined --- js/interface_common.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js/interface_common.js b/js/interface_common.js index 1e83fee..ac4a404 100644 --- a/js/interface_common.js +++ b/js/interface_common.js @@ -1293,19 +1293,19 @@ function convert2Unicodes(s, ta) ta.data("disabledUnicodeRules", []); var ranges = getRangesForUnicodeConversion(s); var list; - if ($.Options.unicodeConversion.val === 'enable' || $.Options.convertPunctuations.val) { + if ($.Options.unicodeConversion.val === 'enable' || $.Options.convertPunctuationsOpt.val) { list = unicodeConversionList.punctuation; s = getUnicodeReplacement(s, list, ranges, ta); } - if ($.Options.unicodeConversion.val === 'enable' || $.Options.convertEmotions.val) { + if ($.Options.unicodeConversion.val === 'enable' || $.Options.convertEmotionsOpt.val) { list = unicodeConversionList.emotions; s = getUnicodeReplacement(s, list, ranges, ta); } - if ($.Options.unicodeConversion.val === 'enable' || $.Options.convertSigns.val) { + if ($.Options.unicodeConversion.val === 'enable' || $.Options.convertSignsOpt.val) { list = unicodeConversionList.signs; s = getUnicodeReplacement(s, list, ranges, ta); } - if ($.Options.unicodeConversion.val === 'enable' || $.Options.convertFractions.val) { + if ($.Options.unicodeConversion.val === 'enable' || $.Options.convertFractionsOpt.val) { list = unicodeConversionList.fractions; s = getUnicodeReplacement(s, list, ranges, ta); }