Permalink
Browse files

hasNativeScrolling should return false when osversion is smaller than

those specified in osInfo.
  • Loading branch information...
1 parent 7fe50d5 commit 873d70d6548dbf53cff06ec5c593b354cba4aaad @frankiefu frankiefu committed Jan 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 source/scroll/Scroller.js
@@ -68,7 +68,7 @@ enyo.kind({
var ua = navigator.userAgent;
for (var i=0, t, m; t=this.osInfo[i]; i++) {
if (this.calcOsVersion(ua, t.os) < t.version) {
- return true;
+ return false;
}
}
return true;

0 comments on commit 873d70d

Please sign in to comment.