Author: jablko
Date: Wed Oct 13 23:34:40 2010
New Revision: 8113

Log:
Drop unnecessary .each()

Modified:
   trunk/js/multiDelete.js

Modified: trunk/js/multiDelete.js
==============================================================================
--- trunk/js/multiDelete.js     Wed Oct 13 23:33:02 2010        (r8112)
+++ trunk/js/multiDelete.js     Wed Oct 13 23:34:40 2010        (r8113)
@@ -18,14 +18,13 @@
 
         // Add "animateNicely" <div/> to each <td/> to make "hide" animation
         // play nicely
-        $('td:not(:has(.animateNicely))', $parentRows).each(function ()
-          {
-            // Add a &nbsp; if <td/> has no contents because .hide() doesn't
-            // seem to operate on <div/>s that contain only whitespace
-            $(this)
-              .append('&nbsp;')
-              .wrapInner('<div class="animateNicely"/>');
-          });
+        $('td:not(:has(.animateNicely))', $parentRows)
+
+          // Add a &nbsp; if <td/> has no contents because .hide() doesn't
+          // seem to operate on <div/>s that contain only whitespace
+          .append('&nbsp;')
+
+          .wrapInner('<div class="animateNicely"/>');
 
         $('div:visible', $parentRows).hide('normal', function ()
           {

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to