Skip to content

Commit

Permalink
fix bug IE 9 and 10
Browse files Browse the repository at this point in the history
  • Loading branch information
bastienmoulia committed Apr 20, 2016
1 parent 5fd20d4 commit c70417a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/ng-sortable.js
Original file line number Diff line number Diff line change
Expand Up @@ -900,8 +900,8 @@
targetY = eventObj.pageY - ($window.pageYOffset || $document[0].documentElement.scrollTop);

//IE fixes: hide show element, call element from point twice to return pick correct element.
targetElement = angular.element($document[0].elementFromPoint(targetX, targetY));
dragElement.addClass(sortableConfig.hiddenClass);
targetElement = angular.element($document[0].elementFromPoint(targetX, targetY));
dragElement.removeClass(sortableConfig.hiddenClass);

$helper.movePosition(eventObj, dragElement, itemPosition, containment, containerPositioning, scrollableContainer);
Expand Down
Loading

0 comments on commit c70417a

Please sign in to comment.