rewrite: min-safe sort

This commit is contained in:
Tyler Renelle 2013-08-28 14:12:50 -04:00
parent bbab8eb73c
commit ca5e931730

View file

@ -54,7 +54,7 @@ habitrpg.directive('whenScrolled', function() {
/**
* Add sortable
*/
habitrpg.directive('habitrpgSortable', function (User) {
habitrpg.directive('habitrpgSortable', ['User', function(User) {
return function($scope, element, attrs, ngModel) {
$(element).sortable({
axis: "y",
@ -70,4 +70,4 @@ habitrpg.directive('habitrpgSortable', function (User) {
}
});
}
});
}]);