formatting
This commit is contained in:
parent
3bbf969686
commit
ba0e432542
1 changed files with 1 additions and 1 deletions
|
@ -1176,7 +1176,7 @@
|
|||
window.addEventListener( 'resize', onWindowResize, false );
|
||||
|
||||
if( config.touch ) {
|
||||
if('onpointerdown' in window) {
|
||||
if( 'onpointerdown' in window ) {
|
||||
// Use W3C pointer events
|
||||
dom.wrapper.addEventListener( 'pointerdown', onPointerDown, false );
|
||||
dom.wrapper.addEventListener( 'pointermove', onPointerMove, false );
|
||||
|
|
Loading…
Reference in a new issue