Skip to content

Commit

Permalink
Merge pull request #65 from sumpygump/deprecate-selector
Browse files Browse the repository at this point in the history
Fix #52: Remove deprecated jQuery .selector
  • Loading branch information
kumailht authored Aug 24, 2017
2 parents a1e4b23 + f9f8b1a commit 44450c7
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 @@ -43,7 +43,7 @@ jQuery(function($) {
events: function() {
var that = this;
that.el.fieldsContainers.click(function(event) {
var focusableFields = that.el.focusableFields.selector;
var focusableFields = that.el.focusableFields;

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

0 comments on commit 44450c7

Please sign in to comment.