Permalink
Browse files

Fix SC.platform.touch for Chrome 9

  • Loading branch information...
1 parent 94df323 commit 9736bdfc707b8021736e66447e1043f804fe20e3 @wagenet wagenet committed Nov 11, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 frameworks/foundation/system/platform.js
@@ -23,7 +23,7 @@ SC.platform = {
@property {Boolean}
*/
- touch: ('createTouch' in document),
+ touch: ('createTouch' in document) && !navigator.userAgent.match('Chrome/9'), // Ugly hack for Chrome 9 issue
bounceOnScroll: (/iPhone|iPad|iPod/).test(navigator.platform),
pinchToZoom: (/iPhone|iPad|iPod/).test(navigator.platform),

0 comments on commit 9736bdf

Please sign in to comment.