jQuery.fn.click event shorthand deprecation issue
-
jQuery Migrate Helper has reported the following deprecation issue and recommends this to be fixed as soon as possible.
Issue:
jQuery.fn.click() event shorthand is deprecated
File: google-analyticator/external-tracking.min.jsLine #25:
Currently we have:a.click( function() {...} );
Fix:a.on( 'click', function(){...} );
Line #45:
Currently we have:a.click( function() {...} );
Fix:a.on( 'click', function(){...} );
- The topic ‘jQuery.fn.click event shorthand deprecation issue’ is closed to new replies.