[extensions-web] review: Remove unnecessary hide/show



commit 98a931c242cc72fca6dc16ab864150a8e8c0f3ef
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Feb 7 14:08:19 2012 -0500

    review: Remove unnecessary hide/show

 sweettooth/static/js/review.js |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/sweettooth/static/js/review.js b/sweettooth/static/js/review.js
index 7688aba..c66775e 100644
--- a/sweettooth/static/js/review.js
+++ b/sweettooth/static/js/review.js
@@ -57,9 +57,6 @@ define(['jquery', 'diff'], function($, diff) {
         var $fileList = $('<ul>', {'class': 'filelist'}).appendTo($elem);
         var pk = $elem.data('pk');
 
-        // Hide the file list until we're done grabbing all the elements.
-        $fileList.hide();
-
         var $fileDisplay = $('<div>', {'class': 'filedisplay'}).appendTo($elem);
         $fileDisplay.css('position', 'relative');
  
@@ -140,8 +137,6 @@ define(['jquery', 'diff'], function($, diff) {
             if (!diff)
                 $.each(files.unchanged, function() { createFileSelector('unchanged', this); });
 
-            $fileList.show();
-
             // Select the first item.
             $fileList.find('li a.fileselector').first().click();
         });



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]