We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5366838 + d6f7f58 commit c637dd3Copy full SHA for c637dd3
src/easeljs/ui/Touch.js
@@ -110,7 +110,7 @@ this.createjs = this.createjs||{};
110
* @static
111
**/
112
Touch.disable = function(stage) {
113
- if (!stage) { return; }
+ if (!stage||!stage.__touch) { return; }
114
if ('ontouchstart' in window) { Touch._IOS_disable(stage); }
115
else if (window.PointerEvent || window.MSPointerEvent) { Touch._IE_disable(stage); }
116
0 commit comments