Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
ugh
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Messerle committed Sep 23, 2015
1 parent c8a48f9 commit 1a99821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/sidenav/sidenav.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ function SidenavDirective($mdMedia, $mdUtil, $mdConstant, $mdTheming, $animate,
sidenavCtrl.destroy();
});

scope.$on('$destroy', backdrop.remove.bind(backdrop));
scope.$on('$destroy', angular.bind(backdrop, backdrop.remove));
scope.$watch(isLocked, updateIsLocked);
scope.$watch('isOpen', updateIsOpen);

Expand Down

0 comments on commit 1a99821

Please sign in to comment.