diff --git a/js/ext/angular/src/directive/ionicNavBar.js b/js/ext/angular/src/directive/ionicNavBar.js index 1fbb9a125e5..bc9d11a9639 100644 --- a/js/ext/angular/src/directive/ionicNavBar.js +++ b/js/ext/angular/src/directive/ionicNavBar.js @@ -450,11 +450,11 @@ function($ionicViewService, $rootScope, $animate, $compile) { navBarCtrl.rightButtonsElement : navBarCtrl.leftButtonsElement; - //Put all of our inside buttons into their own div, + //Put all of our inside buttons into their own span, //so we can remove them all when this element dies - //even if the buttons have changed through an ng-repeat or the like, //we just remove their div parent and they are gone. - var buttons = angular.element('