projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0f34ca
)
Fixed no working hints in framesets.
author
Daniel Carl
<danielcarl@gmx.de>
Sat, 20 Dec 2014 22:00:03 +0000
(23:00 +0100)
committer
Daniel Carl
<danielcarl@gmx.de>
Sat, 20 Dec 2014 22:00:03 +0000
(23:00 +0100)
src/hints.js
patch
|
blob
|
history
diff --git
a/src/hints.js
b/src/hints.js
index
c1c04e6
..
c2a0fe8
100644
(file)
--- a/
src/hints.js
+++ b/
src/hints.js
@@
-233,10
+233,13
@@
Object.freeze((function(){
});
/* recurse into any iframe or frame element */
- for (var f in win.frames) {
- var e = f.frameElement;
+ for (i = 0; i < win.frames.length; i++) {
+ var rect,
+ f = win.frames[i],
+ e = f.frameElement;
+
if (isVisible(e)) {
-
var
rect = e.getBoundingClientRect();
+ rect = e.getBoundingClientRect();
helper(f, {
left: Math.max(offsets.left - rect.left, 0),
right: Math.max(rect.right - offsets.right, 0),