aboutsummaryrefslogtreecommitdiff
path: root/js/io/ui/cloudpopup.reel/cloudpopup.js
diff options
context:
space:
mode:
authorAnanya Sen2012-02-10 16:03:52 -0800
committerAnanya Sen2012-02-10 16:03:52 -0800
commitc48eeb01bd726895dc577d8b843b2a75883eee07 (patch)
tree5945556f80723285396059aaecb523e27b1cbb0d /js/io/ui/cloudpopup.reel/cloudpopup.js
parentc627ebb5735d55218813b073c655dae6cded6040 (diff)
downloadninja-c48eeb01bd726895dc577d8b843b2a75883eee07.tar.gz
Merge from /joseeight/ninja-internal/tree/FileIO
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/io/ui/cloudpopup.reel/cloudpopup.js')
-rwxr-xr-xjs/io/ui/cloudpopup.reel/cloudpopup.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/io/ui/cloudpopup.reel/cloudpopup.js b/js/io/ui/cloudpopup.reel/cloudpopup.js
index 1344661b..e5bad98e 100755
--- a/js/io/ui/cloudpopup.reel/cloudpopup.js
+++ b/js/io/ui/cloudpopup.reel/cloudpopup.js
@@ -51,6 +51,9 @@ exports.CloudPopup = Montage.create(Component, {
51 this._os = 'windows'; 51 this._os = 'windows';
52 } else if (navigator.appVersion.indexOf("Mac")!=-1) { 52 } else if (navigator.appVersion.indexOf("Mac")!=-1) {
53 this._os = 'mac'; 53 this._os = 'mac';
54 } else {
55 //Alternate message for no OS detected (probably Linux)
56 this.element.getElementsByTagName('section')[0].style.display = 'none';
54 } 57 }
55 } 58 }
56 }, 59 },