Browse Source

add keydown to event listener on settings save

causefx 8 years ago
parent
commit
2904c64dc6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      js/custom.js

+ 1 - 1
js/custom.js

@@ -971,7 +971,7 @@ $(document).on('focusout', 'input.pick-a-color', function(e) {
         $(this).attr('style','');
     }
 });
-$(document).on('change', '.addFormTick :input', function(e) {
+$(document).on('change keydown', '.addFormTick :input', function(e) {
     $(this).attr('data-changed', true);
     $(this).closest('.form-group').addClass('has-success');
     var formID = $(this).closest('form').attr('id');