Browse Source

* on ->

pull/699/merge
RubaXa 9 years ago
parent
commit
9eb3ef5b2d
  1. 4
      ng-sortable.js

4
ng-sortable.js

@ -127,7 +127,7 @@
}
function _destroy() {
scope.off('$destroy', _destroy);
scope.$off('$destroy', _destroy);
angular.forEach(watchers, function (/** Function */unwatch) {
unwatch();
@ -190,7 +190,7 @@
}));
});
scope.on('$destroy', _destroy);
scope.$on('$destroy', _destroy);
}
};
}]);

Loading…
Cancel
Save