Skip to content

Commit 1613dcd

Browse files
committed
Merge pull request #47 from ebemunk/pr-9
fix unintended side effects from PR-#9.
2 parents 8ec345c + 8545d5f commit 1613dcd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/angular-sortable-view.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -458,10 +458,10 @@
458458
html.off('mousemove touchmove', onMousemove);
459459
html.off('mouseup touchend', mouseup);
460460
html.removeClass('sv-sorting-in-progress');
461-
if(moveExecuted)
461+
if(moveExecuted){
462462
$controllers[0].$drop($scope.$index, opts);
463-
else
464-
$element.removeClass('sv-visibility-hidden');
463+
}
464+
$element.removeClass('sv-visibility-hidden');
465465
});
466466

467467
// onMousemove(e);

0 commit comments

Comments
 (0)