From 36814ed42b019c851356ae59065bdb7ae7975702 Mon Sep 17 00:00:00 2001 From: John McLear Date: Wed, 13 Feb 2013 23:44:20 +0000 Subject: [PATCH] apply overlay and remove overlay instantly --- src/static/js/pad_connectionstatus.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/static/js/pad_connectionstatus.js b/src/static/js/pad_connectionstatus.js index c592afbd4..2d9354ab1 100644 --- a/src/static/js/pad_connectionstatus.js +++ b/src/static/js/pad_connectionstatus.js @@ -43,9 +43,8 @@ var padconnectionstatus = (function() status = { what: 'connected' }; - padmodals.showModal('connected'); - padmodals.hideOverlay(500); + padmodals.hideOverlay(); }, reconnecting: function() { @@ -54,7 +53,7 @@ var padconnectionstatus = (function() }; padmodals.showModal('reconnecting'); - padmodals.showOverlay(500); + padmodals.showOverlay(); }, disconnected: function(msg) { @@ -73,10 +72,11 @@ var padconnectionstatus = (function() } padmodals.showModal(k); - padmodals.showOverlay(500); + padmodals.showOverlay(); }, isFullyConnected: function() { + padmodals.hideOverlay(); return status.what == 'connected'; }, getStatus: function()