summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/js
diff options
context:
space:
mode:
authorjskyboo <jack@ron.hog.mooo.info>2017-01-26 08:42:03 -0800
committerRenato Botelho <renato@netgate.com>2017-01-27 11:24:17 -0200
commit19c25a5377dbdb6a1ea35c479038571b669e1df3 (patch)
treee3ba1f8945550f98bd9b40ac74815edd935f393b /src/usr/local/www/js
parentd5f0b97e76086936a56b48a5584e22315fd63fdb (diff)
downloadpfsense-19c25a5377dbdb6a1ea35c479038571b669e1df3.zip
pfsense-19c25a5377dbdb6a1ea35c479038571b669e1df3.tar.gz
Fix indentation
(cherry picked from commit c18d0d12b3e683f07b4bac933240332cd4d95829)
Diffstat (limited to 'src/usr/local/www/js')
-rw-r--r--src/usr/local/www/js/pfSenseHelpers.js20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/usr/local/www/js/pfSenseHelpers.js b/src/usr/local/www/js/pfSenseHelpers.js
index 80d3361..d98a50a 100644
--- a/src/usr/local/www/js/pfSenseHelpers.js
+++ b/src/usr/local/www/js/pfSenseHelpers.js
@@ -314,16 +314,16 @@ function checkLastRow() {
function add_row() {
// Find the last repeatable group
- var lastRepeatableGroup = $('.repeatable:last');
-
- // If the number of repeats exceeds the maximum, do not add another clone
- if ($('.repeatable').length >= lastRepeatableGroup.attr('max_repeats')) {
- // Alert user if alert message is specified
- if (typeof lastRepeatableGroup.attr('max_repeats_alert') !== 'undefined') {
- alert(lastRepeatableGroup.attr('max_repeats_alert'));
- }
- return;
- }
+ var lastRepeatableGroup = $('.repeatable:last');
+
+ // If the number of repeats exceeds the maximum, do not add another clone
+ if ($('.repeatable').length >= lastRepeatableGroup.attr('max_repeats')) {
+ // Alert user if alert message is specified
+ if (typeof lastRepeatableGroup.attr('max_repeats_alert') !== 'undefined') {
+ alert(lastRepeatableGroup.attr('max_repeats_alert'));
+ }
+ return;
+ }
// Clone it
var newGroup = lastRepeatableGroup.clone();
OpenPOWER on IntegriCloud