mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-20 11:21:51 +00:00
parent
87f4fc905b
commit
cdd28b01a2
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ else {
|
|||
* True when in environment that supports touch events
|
||||
* @type boolean
|
||||
*/
|
||||
fabric.isTouchSupported = 'ontouchstart' in fabric.document.documentElement;
|
||||
fabric.isTouchSupported = 'ontouchstart' in fabric.window;
|
||||
|
||||
/**
|
||||
* True when in environment that's probably Node.js
|
||||
|
|
|
|||
Loading…
Reference in a new issue