aboutsummaryrefslogtreecommitdiffstats
path: root/scudcloud-1.0/scudcloud-src.js
diff options
context:
space:
mode:
Diffstat (limited to 'scudcloud-1.0/scudcloud-src.js')
-rw-r--r--scudcloud-1.0/scudcloud-src.js13
1 files changed, 7 insertions, 6 deletions
diff --git a/scudcloud-1.0/scudcloud-src.js b/scudcloud-1.0/scudcloud-src.js
index 36ce89e..3bb9beb 100644
--- a/scudcloud-1.0/scudcloud-src.js
+++ b/scudcloud-1.0/scudcloud-src.js
@@ -1,3 +1,4 @@
+
ScudCloud = {
unloaded: true,
// App functions
@@ -42,11 +43,9 @@ ScudCloud = {
didStartLoading: function(){
},
didFinishLoading: function(){
- if(ScudCloud.unloaded){
- TS.ui.banner.close();
- ScudCloud.populate();
- ScudCloud.unloaded = false;
- }
+ TS.ui.banner.close();
+ ScudCloud.populate();
+ ScudCloud.unloaded = false;
},
setConnectionStatus: function(status){
// "online", "connecting", "offline"
@@ -116,4 +115,6 @@ ScudCloud = {
document.onpaste = function(e){desktop.pasted(false);};
window.winssb = TSSSB = ScudCloud;
// Sometimes didFinishLoading is not loaded
-ScudCloud.didFinishLoading();
+if(ScudCloud.unloaded){
+ ScudCloud.didFinishLoading();
+}