projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c674241
)
Fixed possible wrong view object in hint clicking.
author
Daniel Carl
<danielcarl@gmx.de>
Sun, 2 Mar 2014 20:33:47 +0000
(21:33 +0100)
committer
Daniel Carl
<danielcarl@gmx.de>
Sun, 2 Mar 2014 20:33:47 +0000
(21:33 +0100)
src/hints.js
patch
|
blob
|
history
diff --git
a/src/hints.js
b/src/hints.js
index
ec49a29
..
e15d442
100644
(file)
--- a/
src/hints.js
+++ b/
src/hints.js
@@
-432,7
+432,7
@@
Object.freeze((function(){
function mouseEvent(e, name, ctrl) {
var evObj = e.ownerDocument.createEvent("MouseEvents");
evObj.initMouseEvent(
- name, true, true, e.
contentWindo
w,
+ name, true, true, e.
ownerDocument.defaultVie
w,
0, 0, 0, 0, 0,
(typeof ctrl != "undefined") ? ctrl : false, false, false, false, 0, null
);