Permalink
Browse files

Merge branch 'master' of github.com:marcuswestin/std.js

  • Loading branch information...
2 parents c6248a6 + fcd9638 commit 4a6f812e6aed34097cd5808447cb805fa7dad971 @marcuswestin committed Apr 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 client.js
View
@@ -24,7 +24,7 @@ var Client = Class(function() {
try {
document.createEvent("TouchEvent")
- this.isTouch = true
+ this.isTouch = ('ontouchstart' in window)
} catch (e) {
this.isTouch = false
}

0 comments on commit 4a6f812

Please sign in to comment.