JQuery Error: $.curCSS is not a function
-
Hello everybody,
if you guys using jQuery over the Google API
http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js?ver=3.4.2you might to get an error for an undefined function called “curCSS” which is deprecated since version 1.8.To fix this error you can use an older version of jQuery (e.g. 1.7.+) or you can just fix the following line of code in the
jquery.dimensions.jswhich is located in the plugin folder (/top-contributors/js).OLD Line: 116
return parseInt($.curCSS(el.jquery?el[0]:el,prop,true))||0;NEW Line: 116
return parseInt($(el).css(prop,true))||0;Cheers
Stefan Berntheisel
The topic ‘JQuery Error: $.curCSS is not a function’ is closed to new replies.