removed expensive try/catch

pull/2258/head
Nam Giang 2019-08-14 15:11:03 -07:00
parent b30d519523
commit 0d680a58f3
1 changed files with 10 additions and 10 deletions

View File

@ -262,21 +262,21 @@
resizeRule(container);
var type = selectField.val();
try {
if (valueField){
valueField.typedInput('hide');
} catch(e){}
try {
}
if (expValueField){
expValueField.typedInput('hide');
} catch(e){}
try {
}
if (numValueField){
numValueField.typedInput('hide');
} catch(e){}
try {
}
if (typeValueField){
typeValueField.typedInput('hide');
} catch(e){}
try {
}
if (btwnValue2Field){
btwnValue2Field.typedInput('hide');
} catch(e){}
}
if ((type === "btwn") || (type === "index")) {
if (!btwnValueField){