Permalink
Browse files

fixed js error

  • Loading branch information...
1 parent fe1460d commit 5c1cf4dfd90fd08b3623409d4952328829265228 @leedo committed Apr 4, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 share/static/alice.js
  2. +1 −1 src/js/alice/src/alice/application.js
View
@@ -11510,7 +11510,7 @@ Alice.Application = Class.create({
isBeefy: function() {
return window.navigator.userAgent.match(/ipad/i) &&
- (window.devicePixelRatio) && (window.devicePixelRatio >= 2));
+ (window.devicePixelRatio && (window.devicePixelRatio >= 2));
},
getBacklog: function (win, max, limit) {
@@ -60,7 +60,7 @@ Alice.Application = Class.create({
isBeefy: function() {
return window.navigator.userAgent.match(/ipad/i) &&
- (window.devicePixelRatio) && (window.devicePixelRatio >= 2));
+ (window.devicePixelRatio && (window.devicePixelRatio >= 2));
},
getBacklog: function (win, max, limit) {

0 comments on commit 5c1cf4d

Please sign in to comment.