Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sdkjs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
sdkjs
Commits
dd2dc8e2
Commit
dd2dc8e2
authored
Aug 18, 2017
by
Oleg Korshul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug 35642
parent
2b31b829
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
common/scroll.js
common/scroll.js
+10
-0
No files found.
common/scroll.js
View file @
dd2dc8e2
...
...
@@ -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)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment