Skip to content

Commit b4cd9c3

Browse files
committed
remove jQuery version check
It's silly. Users should read the docs. Also, the version check would fail for every new version of jQuery.
1 parent 9d77cb7 commit b4cd9c3

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/rails.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,4 @@ jQuery(function($) {
145145
input.removeAttr('disabled').val(input.data('enable-with'));
146146
});
147147
});
148-
149-
var jqueryVersion = $().jquery;
150-
151-
if (!( (jqueryVersion === '1.4.3') || (jqueryVersion === '1.4.4'))){
152-
alert('This rails.js does not support the jQuery version you are using. Please read documentation.');
153-
}
154-
155148
});

0 commit comments

Comments
 (0)