Commit f6380efe by Tomas Alabes

Correcting window reference

parent ad5bf888
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 = ('ontouchstart' in window) || window.DocumentTouch && document instanceof DocumentTouch, //taken from Modernizr touch test
supportsTouch = ('ontouchstart' in g.win) || g.win.DocumentTouch && g.doc instanceof DocumentTouch, //taken from Modernizr touch test
E = "",
S = " ",
Str = String,
......
......@@ -520,7 +520,7 @@
appendChild = "appendChild",
apply = "apply",
concat = "concat",
supportsTouch = ('ontouchstart' in window) || window.DocumentTouch && document instanceof DocumentTouch, //taken from Modernizr touch test
supportsTouch = ('ontouchstart' in g.win) || g.win.DocumentTouch && g.doc 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