Skip to content

Commit

Permalink
Merge pull request #55 from staabm/patch-1
Browse files Browse the repository at this point in the history
added html5 input type=number support
  • Loading branch information
kumailht committed Apr 27, 2016
2 parents 87cf5c6 + 9974f48 commit d5bea25
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 d5bea25

Please sign in to comment.