[extensions-web] js: Hide the comments loading indicator when comments are loaded



commit 0e12d0f00fbc61a17904d9eebd91f471abea7509
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Mar 19 14:06:15 2013 -0400

    js: Hide the comments loading indicator when comments are loaded
    
    Oops

 sweettooth/static/js/main.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/sweettooth/static/js/main.js b/sweettooth/static/js/main.js
index d474bda..bce74a1 100644
--- a/sweettooth/static/js/main.js
+++ b/sweettooth/static/js/main.js
@@ -188,6 +188,8 @@ function($, messages, modal, hashParamUtils, templates) {
                 }).done(function(comments) {
                     var $commentsHolder = base.find('.comments-holder');
 
+                    $loading.hide();
+
                     var data = { comments: comments, show_all: showAll };
                     var $newContent = $('<div>').append(templates.get('extensions/comments_list')(data));
                     $newContent.addClass('comments-holder');


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