Fix div width on leftwards drag

This commit is contained in:
Atul Pratap Singh 2012-09-17 21:59:26 +05:30
parent e89727e531
commit 89d002d38e

View File

@ -1215,7 +1215,7 @@ $(function() {
if (selectionStartX != undefined) {
$('#selection_box')
.css({
width: Math.abs(ev.pageX - selectionStartX)
width: Math.ceil(ev.pageX - selectionStartX)
})
.fadeIn();
}