aboutsummaryrefslogtreecommitdiff
path: root/js/ninja.reel/ninja.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/ninja.reel/ninja.js')
-rwxr-xr-x[-rw-r--r--]js/ninja.reel/ninja.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/js/ninja.reel/ninja.js b/js/ninja.reel/ninja.js
index 469d38f7..43087c39 100644..100755
--- a/js/ninja.reel/ninja.js
+++ b/js/ninja.reel/ninja.js
@@ -102,6 +102,9 @@ exports.Ninja = Montage.create(Component, {
102 didDraw: { 102 didDraw: {
103 value: function() { 103 value: function() {
104 if(!this._didDraw) { 104 if(!this._didDraw) {
105 if (!this.application.ninja.coreIoApi.ioServiceDetected) {
106 var check = this.application.ninja.coreIoApi.cloudAvailable();
107 }
105 NJevent("appLoaded"); 108 NJevent("appLoaded");
106 this._didDraw = true; 109 this._didDraw = true;
107 } 110 }
@@ -186,7 +189,7 @@ exports.Ninja = Montage.create(Component, {
186 transitionStopRule = "*" 189 transitionStopRule = "*"
187 } 190 }
188 191
189 this.currentDocument.documentRoot.elementModel.controller.setProperty(this.currentDocument.documentRoot, "background", background); 192 this.currentDocument.documentRoot.elementModel.controller.setProperty(this.currentDocument.documentRoot, "body-background", background);
190 this.currentDocument.documentRoot.elementModel.controller.setProperty(this.currentDocument.documentRoot, "overflow", overflow); 193 this.currentDocument.documentRoot.elementModel.controller.setProperty(this.currentDocument.documentRoot, "overflow", overflow);
191 this.currentDocument.documentRoot.elementModel.controller.changeSelector(this.currentDocument.documentRoot, "transitionStopRule", transitionStopRule); 194 this.currentDocument.documentRoot.elementModel.controller.changeSelector(this.currentDocument.documentRoot, "transitionStopRule", transitionStopRule);
192 195