Permalink
Browse files

Change how we detect WEBOS

  • Loading branch information...
1 parent 4bde381 commit c16ca436bcaac881053c631fe2f9860184934c4b @funkatron funkatron committed Jun 4, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 helpers/sys.js
View
@@ -95,7 +95,7 @@ sc.helpers.getPlatform = function() {
if (window.runtime) {
return SPAZCORE_PLATFORM_AIR;
}
- if (window.Mojo) {
+ if (window && window.PalmSystem) {
return SPAZCORE_PLATFORM_WEBOS;
}
if (window.Titanium) {

0 comments on commit c16ca43

Please sign in to comment.