Merge pull request #14 from lowski/fix_positioning

Fix for right positioning of the widget
This commit is contained in:
Valeriy 2013-12-12 01:17:47 -08:00
commit 7edaa55553

View File

@ -807,7 +807,7 @@
if( left+datetimepicker[0].offsetWidth>$('body').width() ) if( left+datetimepicker[0].offsetWidth>$('body').width() )
left = offset.left-datetimepicker[0].offsetWidth+datetimepicker.data('input')[0].offsetWidth; left = offset.left-datetimepicker[0].offsetWidth+datetimepicker.data('input')[0].offsetWidth;
datetimepicker.css({ datetimepicker.css({
left:offset.left, left:left,
top:top top:top
}); });
}; };