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) {
|
||||
return ui.el.style.top = 'auto';
|
||||
return ui.el.style.top = '999%';
|
||||
}
|
||||
};
|
||||
$ = function(selector, root) {
|
||||
|
||||
@ -182,7 +182,7 @@ ui =
|
||||
el.style.right = clientWidth - clientX + 45
|
||||
|
||||
hoverend: (e) ->
|
||||
ui.el.style.top = 'auto'
|
||||
ui.el.style.top = '999%'
|
||||
|
||||
$ = (selector, root=d.body) ->
|
||||
root.querySelector selector
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user