summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/usr/local/www/js/pfSenseHelpers.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/js/pfSenseHelpers.js b/src/usr/local/www/js/pfSenseHelpers.js
index 0283b11..dadcf9f 100644
--- a/src/usr/local/www/js/pfSenseHelpers.js
+++ b/src/usr/local/www/js/pfSenseHelpers.js
@@ -143,11 +143,11 @@ function hideMask(name, hide) {
if(hide) {
$('[id^=' + name + ']').hide();
$('[id^=' + name + ']').prev('span').hide();
- $('[id^=' + name + ']').parents('div').removeClass('input-group');
+ $('[id^=' + name + ']').parent('div').removeClass('input-group');
} else {
$('[id^=' + name + ']').show();
$('[id^=' + name + ']').prev('span').show();
- $('[id^=' + name + ']').parents('div').addClass('input-group');
+ $('[id^=' + name + ']').parent('div').addClass('input-group');
}
}
OpenPOWER on IntegriCloud