From 4afca26de178b09ba293eee81202103188f969f6 Mon Sep 17 00:00:00 2001 From: Arvind Date: Wed, 3 Sep 2014 16:03:45 +0530 Subject: [PATCH] Hiding other divs when the loading animation is shown. --- swtr/static/css/swtmaker.css | 3 ++- swtr/static/js/main.js | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/swtr/static/css/swtmaker.css b/swtr/static/css/swtmaker.css index f11827a..168d68a 100644 --- a/swtr/static/css/swtmaker.css +++ b/swtr/static/css/swtmaker.css @@ -148,6 +148,7 @@ footer { margin-left: 10px; } #tag-cloud { + display: none; height:768px; } #tags-tag-cloud svg { @@ -205,4 +206,4 @@ footer { transform: scale(1.0); -webkit-transform: scale(1.0); } -} \ No newline at end of file +} diff --git a/swtr/static/js/main.js b/swtr/static/js/main.js index 8230713..6a21baa 100644 --- a/swtr/static/js/main.js +++ b/swtr/static/js/main.js @@ -751,6 +751,7 @@ } }, render: function() { + $(this.el).show(); this.renderUserTagCloud(); this.renderTagsTagCloud(); }, -- 1.7.10.4