From 9109008194370ec0cd403a64f3765dd3a9440824 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sat, 12 Dec 2015 17:00:28 -0500 Subject: [PATCH] update SocketHttpListener --- dashboard-ui/scripts/site.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dashboard-ui/scripts/site.js b/dashboard-ui/scripts/site.js index c43f044e04..fb773a06b2 100644 --- a/dashboard-ui/scripts/site.js +++ b/dashboard-ui/scripts/site.js @@ -459,7 +459,9 @@ var Dashboard = { elem.active = true; elem.classList.remove('hide'); - } else { + } else if (!Dashboard.loadingAdded) { + + Dashboard.loadingAdded = true; require(['paper-spinner'], function () { elem = document.createElement("paper-spinner");