summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
241ba49)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
function buildPopup(input, destination, linkBindFunction)
{
function buildPopup(input, destination, linkBindFunction)
{
- var pos = findPos(input.get(0));
var $popup = destination;
var selected = null;
var hovered = 0;
var $popup = destination;
var selected = null;
var hovered = 0;
position: 'absolute',
width: '300px',
top: input.css('bottom'),
position: 'absolute',
width: '300px',
top: input.css('bottom'),
- left: pos.x - 300 + input.width(),
clear: 'both',
'text-align': 'left'
});
clear: 'both',
'text-align': 'left'
});
+ var pos = findPos(input.get(0));
+ $popup.css('left', pos.x - 300 + input.width()).show();