From 3cf69dfbb89b5476de32828a636dd3e27e912a50 Mon Sep 17 00:00:00 2001 From: Aris Feryanto Date: Wed, 1 Jun 2011 13:11:53 +0700 Subject: [PATCH] Some optimization for column resize script --- js/makegrid.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/makegrid.js b/js/makegrid.js index 9da146b872..334378a26e 100644 --- a/js/makegrid.js +++ b/js/makegrid.js @@ -81,9 +81,7 @@ }); // wrap all data cells, except actions cell, with span - $(t).find('th, td:not(:has(span))').each(function() { - $(this).wrapInner(''); - }); + $(t).find('th, td:not(:has(span))').wrapInner(''); // register events $(document).mousemove(function(e) {