mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-02 17:48:50 -04:00
Fix variable assignment
Without the `var` prefix this was making `$submitButton` a global variable, which is not what the code intended.
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
let disableSubmitButtons = function(event) {
|
let disableSubmitButtons = function(event) {
|
||||||
|
|
||||||
$submitButton = $(this).find(':submit');
|
var $submitButton = $(this).find(':submit');
|
||||||
|
|
||||||
if ($submitButton.data('clicked') == 'true') {
|
if ($submitButton.data('clicked') == 'true') {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user