[limb-svn] r5809 - 3.x/trunk/limb/js/shared/limb

svn at limb-project.com svn at limb-project.com
Sat May 5 13:16:57 MSD 2007


Author: pachanga
Date: 2007-05-05 13:16:57 +0400 (Sat, 05 May 2007)
New Revision: 5809
URL: http://fisheye.limb-project.com/changelog/limb/?cs=5809

Modified:
   3.x/trunk/limb/js/shared/limb/auto_popup.js
Log:
-- fixed: auto_popup.js used Prototype each method not jQuery

Modified: 3.x/trunk/limb/js/shared/limb/auto_popup.js
===================================================================
--- 3.x/trunk/limb/js/shared/limb/auto_popup.js	2007-05-04 21:32:57 UTC (rev 5808)
+++ 3.x/trunk/limb/js/shared/limb/auto_popup.js	2007-05-05 09:16:57 UTC (rev 5809)
@@ -1,12 +1,12 @@
 jQuery(window).ready(
   function()
   {
-   jQuery.find("a").each(
-    function(a)
+   jQuery("a").each(
+    function()
     {
-      if(a.href.indexOf('popup=1') > -1)
+      if(this.href.indexOf('popup=1') > -1)
       {
-        jQuery(a).bind("click", function()
+        jQuery(this).bind("click", function()
                        {
                          new Limb.Window(this.href);
                          return false;



More information about the limb-svn mailing list