commit
fff6c3548d
@ -225,9 +225,10 @@
|
|||||||
top = clientY - 120;
|
top = clientY - 120;
|
||||||
bot = top + height;
|
bot = top + height;
|
||||||
el.style.top = ui.winHeight < height || top < 0 ? '0px' : bot > ui.winHeight ? ui.winHeight - height + 'px' : top + 'px';
|
el.style.top = ui.winHeight < height || top < 0 ? '0px' : bot > ui.winHeight ? ui.winHeight - height + 'px' : top + 'px';
|
||||||
return el.style.left = clientX + 45;
|
return el.style.left = clientX + 45 + 'px';
|
||||||
},
|
},
|
||||||
hoverend: function(e) {
|
hoverend: function(e) {
|
||||||
|
ui.el.style.top = 'auto';
|
||||||
return $.hide(ui.el);
|
return $.hide(ui.el);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@ -147,8 +147,9 @@ ui =
|
|||||||
ui.winHeight - height + 'px'
|
ui.winHeight - height + 'px'
|
||||||
else
|
else
|
||||||
top + 'px'
|
top + 'px'
|
||||||
el.style.left = clientX + 45
|
el.style.left = clientX + 45 + 'px'
|
||||||
hoverend: (e) ->
|
hoverend: (e) ->
|
||||||
|
ui.el.style.top = 'auto'
|
||||||
$.hide ui.el
|
$.hide ui.el
|
||||||
|
|
||||||
#convenience
|
#convenience
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user