diff options
Diffstat (limited to 'includes/sys_form.php')
-rw-r--r-- | includes/sys_form.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/sys_form.php b/includes/sys_form.php index 7b1141bb..936e3203 100644 --- a/includes/sys_form.php +++ b/includes/sys_form.php @@ -36,11 +36,12 @@ function form_spinner($name, $label, $value) </div> </div> <script type="text/javascript"> - var spinner = $("#spinner-' . $name . '"); $("#spinner-' . $name . '-down").click(function() { + var spinner = $("#spinner-' . $name . '"); spinner.val(parseInt(spinner.val()) - 1); }); $("#spinner-' . $name . '-up").click(function() { + var spinner = $("#spinner-' . $name . '"); spinner.val(parseInt(spinner.val()) + 1); }); </script> |