Skip to content

Commit

Permalink
Merge pull request #2841 from jklimke/jquery-3.0-fixes
Browse files Browse the repository at this point in the history
changes size() to length since it is missing in jquery 3.0
  • Loading branch information
bbenezech committed Mar 4, 2017
2 parents 46cd7ec + e8eba19 commit 9e2c403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/rails_admin/ra.filtering-select.js
Expand Up @@ -40,7 +40,7 @@
// When using the browser back and forward buttons, it is possible that
// the autocomplete field will be cached which causes duplicate fields
// to be generated.
if (filtering_select.size() > 0) {
if (filtering_select.length > 0) {
this.input = filtering_select.children('input');
this.button = filtering_select.children('.input-group-btn');
} else {
Expand Down

0 comments on commit 9e2c403

Please sign in to comment.