From: ScottDowne Date: Wed, 22 Jun 2011 13:34:24 +0000 (-0400) Subject: [#t366] forgot a reference to $ X-Git-Tag: v0.7^2~22^2~5 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=f484261672ee37a4207524fc45cf21c7c1de6853;p=popcorn-js.git [#t366] forgot a reference to $ --- diff --git a/effects/applyclass/popcorn.applyclass.js b/effects/applyclass/popcorn.applyclass.js index e063a4b..c045295 100644 --- a/effects/applyclass/popcorn.applyclass.js +++ b/effects/applyclass/popcorn.applyclass.js @@ -5,7 +5,7 @@ /** * apply css class to jquery selector * selector is relative to plugin target's id - * so .overlay is actually $( "#target .overlay") + * so .overlay is actually jQuery( "#target .overlay") * * @param {Object} options * @@ -38,10 +38,10 @@ var obj; if ( key === "parent" ) { - obj = $("#" + options.target ).parent(); + obj = jQuery("#" + options.target ).parent(); } else { - obj = $("#" + options.target + " " + key ); + obj = jQuery("#" + options.target + " " + key ); } obj.addClass( val );