Skip to content

Commit

Permalink
Merge pull request angular-ui#2258 from jpuri/master
Browse files Browse the repository at this point in the history
fix for move column issue
  • Loading branch information
swalters committed Dec 2, 2014
2 parents eb6a2ad + 3def961 commit cc7841b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/features/move-columns/js/column-movable.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,6 @@

//Increase width of moving column, in case the rightmost column was moved and its width was
//decreased because of overflow
previousMouseX = evt.pageX;
if (reducedWidth < $scope.col.drawnWidth) {
reducedWidth += Math.abs(changeValue);
movingElm.css({'width': reducedWidth + 'px'});
Expand All @@ -314,7 +313,8 @@
cloneElement();
}
else if (elmCloned) {
moveElement(changeValue);
moveElement(changeValue);
previousMouseX = evt.pageX;
}
};

Expand Down

0 comments on commit cc7841b

Please sign in to comment.