Skip to content

Commit

Permalink
Merge pull request #47 from ebemunk/pr-9
Browse files Browse the repository at this point in the history
fix unintended side effects from PR-#9.
  • Loading branch information
kamilkp committed Jan 13, 2016
2 parents 8ec345c + 8545d5f commit 1613dcd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/angular-sortable-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -458,10 +458,10 @@
html.off('mousemove touchmove', onMousemove);
html.off('mouseup touchend', mouseup);
html.removeClass('sv-sorting-in-progress');
if(moveExecuted)
if(moveExecuted){
$controllers[0].$drop($scope.$index, opts);
else
$element.removeClass('sv-visibility-hidden');
}
$element.removeClass('sv-visibility-hidden');
});

// onMousemove(e);
Expand Down

0 comments on commit 1613dcd

Please sign in to comment.