Fix hoverend, auto is not enough on short pages.
This commit is contained in:
parent
861c9f00f3
commit
d430055abb
@ -267,7 +267,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
hoverend: function(e) {
|
hoverend: function(e) {
|
||||||
return ui.el.style.top = 'auto';
|
return ui.el.style.top = '999%';
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
$ = function(selector, root) {
|
$ = function(selector, root) {
|
||||||
|
|||||||
@ -182,7 +182,7 @@ ui =
|
|||||||
el.style.right = clientWidth - clientX + 45
|
el.style.right = clientWidth - clientX + 45
|
||||||
|
|
||||||
hoverend: (e) ->
|
hoverend: (e) ->
|
||||||
ui.el.style.top = 'auto'
|
ui.el.style.top = '999%'
|
||||||
|
|
||||||
$ = (selector, root=d.body) ->
|
$ = (selector, root=d.body) ->
|
||||||
root.querySelector selector
|
root.querySelector selector
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user