Permalink
Browse files

Never user touch API on webOS

  • Loading branch information...
1 parent 3809b71 commit b3909402067f4e2907f54991a0b546c2b18b4eb7 bni committed Jul 24, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 js/init.js
View
@@ -249,7 +249,8 @@
// Check if device has touch API. Note that having this API is not
// required for detecting "swipes", as we can do that with mouse
// events too
- if ("ontouchstart" in window) {
+ // webOS touch API is broken so never use it.
+ if ("ontouchstart" in window && !orbium.Util.isUA("webOS")) {
orbium.has_touch_api = true;
}

0 comments on commit b390940

Please sign in to comment.