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