Merge "Fix deprecation warning for jQuery.fn.keydown() event shorthand"
This commit is contained in:
commit
01e1e4a66c
@ -490,7 +490,7 @@ horizon.membership = {
|
||||
}
|
||||
|
||||
// prevent filter inputs from submitting form on 'enter'
|
||||
$form.find('.' + step_slug + '_membership').keydown(function(event){
|
||||
$form.find('.' + step_slug + '_membership').on('keydown', function(event){
|
||||
if (event.keyCode === 13) {
|
||||
event.preventDefault();
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user