diff --git a/public/js/directives/directives.js b/public/js/directives/directives.js index 639d615abb..3a1f2f302d 100644 --- a/public/js/directives/directives.js +++ b/public/js/directives/directives.js @@ -47,6 +47,7 @@ habitrpg.directive('habitrpgSortable', ['User', function(User) { return function($scope, element, attrs, ngModel) { $(element).sortable({ axis: "y", + distance: 5, start: function (event, ui) { ui.item.data('startIndex', ui.item.index()); },