1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

removed expensive try/catch

This commit is contained in:
Nam Giang 2019-08-14 15:11:03 -07:00
parent b30d519523
commit 0d680a58f3

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){