Skip to content

Commit 960e4b8

Browse files
committed
Merge pull request #24 from tombee/issue-22
Resolve issue #22 where destroy listener was being called to destroy an ...
2 parents 3b8ea85 + c3bc2de commit 960e4b8

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/dropdown/dropdown.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@ angular.module('angularify.semantic.dropdown', [])
77

88
this.add_item = function (scope) {
99
$scope.items.push(scope);
10-
11-
scope.$on('$destroy', function(event) {
12-
this.remove_accordion(scope);
13-
});
14-
1510
return $scope.items;
1611
};
1712

0 commit comments

Comments
 (0)