]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
[#t366] forgot a reference to $
authorScottDowne <sdowne@learn.senecac.on.ca>
Wed, 22 Jun 2011 13:34:24 +0000 (09:34 -0400)
committerScottDowne <sdowne@learn.senecac.on.ca>
Wed, 22 Jun 2011 13:34:24 +0000 (09:34 -0400)
effects/applyclass/popcorn.applyclass.js

index e063a4be1bfef76cd58f6150c31cca8a17959310..c045295279b5280c568175d27a1765ae338193bb 100644 (file)
@@ -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
    * 
             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 );