WordPress.org

Ready to get started?Download WordPress

Forums

Top Contributors
[resolved] JQuery Error: $.curCSS is not a function (1 post)

  1. s_berntheisel
    Member
    Posted 2 years ago #

    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.2 you 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.js which 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

    http://wordpress.org/extend/plugins/top-contributors/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic