From 9ff1e6307a172c751ecc3f40e08cb8a82cd8f8d3 Mon Sep 17 00:00:00 2001 From: Simon Eisenmann Date: Mon, 17 Mar 2014 11:45:41 +0100 Subject: [PATCH] Fixed flash of welcome page. --- static/js/directives/page.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/js/directives/page.js b/static/js/directives/page.js index 946c212f..78767f7c 100644 --- a/static/js/directives/page.js +++ b/static/js/directives/page.js @@ -43,7 +43,9 @@ define(['text!partials/page.html', 'text!partials/page/welcome.html'], function( }); scope.$watch("status", function(event) { - scope.refresh(); + if (scope.initialized) { + scope.refresh(); + } }); scope.refresh = function() {