Skip to content

Commit

Permalink
added html5 input type=number support
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Apr 26, 2016
1 parent 87cf5c6 commit 9974f48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gridforms/gridforms.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jQuery(function($) {
var focusableFields = that.el.focusableFields.selector;

if (!$(event.target).is(focusableFields)) {
$(this).find('input[type="text"],input[type="tel"],input[type="email"], textarea, select').first().focus();
$(this).find('input[type="text"],input[type="number"],input[type="tel"],input[type="email"], textarea, select').first().focus();
}
});
that.el.focusableFields.focus(function() {
Expand Down

0 comments on commit 9974f48

Please sign in to comment.