summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-01-27 12:06:11 -0800
committerelijah <elijah@riseup.net>2014-01-27 12:06:11 -0800
commit6cbeb26738f6a472084ce69d1ac06908bb5bf335 (patch)
treeac4ef1f3abc91ffdd46cabceabc557a63b983c71 /core
parentd578c07e196cd9758fbf1752a9bb8477c260bb30 (diff)
fix js platform detection to match new way we have single link for linux (not linux32 or linux64).
Diffstat (limited to 'core')
-rw-r--r--core/app/assets/javascripts/platform.js11
1 files changed, 6 insertions, 5 deletions
diff --git a/core/app/assets/javascripts/platform.js b/core/app/assets/javascripts/platform.js
index 3ab77d7..108c162 100644
--- a/core/app/assets/javascripts/platform.js
+++ b/core/app/assets/javascripts/platform.js
@@ -46,11 +46,12 @@
return 'android';
}
if (pf.indexOf("Linux") !== -1) {
- if (pf.indexOf("64") !== -1) {
- return 'linux64';
- } else {
- return 'linux32';
- }
+ return 'linux';
+ //if (pf.indexOf("64") !== -1) {
+ // return 'linux64';
+ //} else {
+ // return 'linux32';
+ //}
}
if (pf.indexOf("MacPPC") !== -1) {
return 'oldmac';