Commit dd2dc8e2 authored by Oleg Korshul's avatar Oleg Korshul

fix bug 35642

parent 2b31b829
......@@ -3066,6 +3066,11 @@ ScrollObject.prototype = {
evt_mouseup:function ( e ) {
var evt = e || window.event;
// prevent pointer events on all iframes (while only plugin!)
var _frame = document.getElementById("plugin_iframe");
if (_frame)
_frame.style.pointerEvents = "";
if ( evt.preventDefault )
evt.preventDefault();
else
......@@ -3109,6 +3114,11 @@ ScrollObject.prototype = {
evt_mousedown:function ( e ) {
var evt = e || window.event;
// prevent pointer events on all iframes (while only plugin!)
var _frame = document.getElementById("plugin_iframe");
if (_frame)
_frame.style.pointerEvents = "none";
// если сделать превент дефолт - перестанет приходить mousemove от window
/*
if (evt.preventDefault)
......
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 to comment