[DE PE] fix bug 55977
This commit is contained in:
parent
bfec2495b8
commit
fed5f28bde
|
@ -365,7 +365,8 @@ define([
|
||||||
addEvent(me.el, eventname, handleDocumentWheel);
|
addEvent(me.el, eventname, handleDocumentWheel);
|
||||||
}
|
}
|
||||||
|
|
||||||
$(document).on('mousewheel', handleDocumentWheel);
|
!Common.Utils.isChrome ? $(document).on('mousewheel', handleDocumentWheel) :
|
||||||
|
document.addEventListener('mousewheel', handleDocumentWheel, {passive: false});
|
||||||
$(document).on('keydown', handleDocumentKeyDown);
|
$(document).on('keydown', handleDocumentKeyDown);
|
||||||
|
|
||||||
$(window).on('resize', onDocumentHolderResize);
|
$(window).on('resize', onDocumentHolderResize);
|
||||||
|
|
|
@ -354,7 +354,8 @@ define([
|
||||||
addEvent(me.el, eventname, handleDocumentWheel);
|
addEvent(me.el, eventname, handleDocumentWheel);
|
||||||
}
|
}
|
||||||
|
|
||||||
$(document).on('mousewheel', handleDocumentWheel);
|
!Common.Utils.isChrome ? $(document).on('mousewheel', handleDocumentWheel) :
|
||||||
|
document.addEventListener('mousewheel', handleDocumentWheel, {passive: false});
|
||||||
$(document).on('keydown', handleDocumentKeyDown);
|
$(document).on('keydown', handleDocumentKeyDown);
|
||||||
$(window).on('resize', onDocumentHolderResize);
|
$(window).on('resize', onDocumentHolderResize);
|
||||||
var viewport = PE.getController('Viewport').getView('Viewport');
|
var viewport = PE.getController('Viewport').getView('Viewport');
|
||||||
|
|
Loading…
Reference in a new issue