Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Commit

Permalink
refactor(dropdown): remove unneeded
Browse files Browse the repository at this point in the history
Closes #4893
  • Loading branch information
Foxandxss authored and wesleycho committed Nov 13, 2015
1 parent 4de49f4 commit 58205a8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/dropdown/dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,11 +264,6 @@ angular.module('ui.bootstrap.dropdown', ['ui.bootstrap.position'])
scope.isOpen = false;
}
});

var offDestroy = $scope.$on('$destroy', function() {
scope.$destroy();
});
scope.$on('$destroy', offDestroy);
}])

.directive('uibDropdown', function() {
Expand Down

0 comments on commit 58205a8

Please sign in to comment.