Commit ad5bf888 by Tomas Alabes

Updating touch test for mobile devices

parent e0b94fdc
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -140,7 +140,7 @@
appendChild = "appendChild",
apply = "apply",
concat = "concat",
supportsTouch = "createTouch" in g.doc,
supportsTouch = ('ontouchstart' in window) || window.DocumentTouch && document instanceof DocumentTouch, //taken from Modernizr touch test
E = "",
S = " ",
Str = String,
......
......@@ -520,7 +520,7 @@
appendChild = "appendChild",
apply = "apply",
concat = "concat",
supportsTouch = "createTouch" in g.doc,
supportsTouch = ('ontouchstart' in window) || window.DocumentTouch && document instanceof DocumentTouch, //taken from Modernizr touch test
E = "",
S = " ",
Str = String,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment