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

Commit

Permalink
chore(tabs): removes unnecessary cleanup steps
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Messerle committed Jul 20, 2015
1 parent bd38246 commit 7fff84a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/tabs/js/tabsController.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,6 @@ function MdTabsController ($scope, $element, $window, $mdConstant, $mdTabInkRipp
function cleanup () {
destroyed = true;
angular.element($window).off('resize', handleWindowResize);
angular.element(elements.paging).off('DOMSubtreeModified', ctrl.updateInkBarStyles);
angular.element(elements.paging).off('DOMSubtreeModified', updatePagination);
}

// Change handlers
Expand Down

0 comments on commit 7fff84a

Please sign in to comment.