We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f5e0f0 commit e9bc51cCopy full SHA for e9bc51c
1 file changed
src/Angular.js
@@ -1433,9 +1433,9 @@ function bindJQuery() {
1433
var originalCleanData;
1434
// bind to jQuery if present;
1435
jQuery = window.jQuery;
1436
-
1437
- // reset to jQuery or default to us.
1438
- if (jQuery) {
+ // Use jQuery if it exists with proper functionality, otherwise default to us.
+ // Angular 1.2+ requires jQuery 1.7.1+ for on()/off() support.
+ if (jQuery && jQuery.fn.on) {
1439
jqLite = jQuery;
1440
extend(jQuery.fn, {
1441
scope: JQLitePrototype.scope,
0 commit comments