Skip to content

Commit

Permalink
fix($ionicModal): make it use jqLite#remove()
Browse files Browse the repository at this point in the history
Closes #1138
  • Loading branch information
ajoslin committed Apr 16, 2014
1 parent 1d0a4f1 commit 104c642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/angular/service/modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ function($rootScope, $document, $compile, $timeout, $ionicPlatform, $ionicTempla

return self.hide().then(function() {
self.scope.$destroy();
self.el && self.el.parentElement && self.el.parentElement.removeChild(self.el);
angular.element(self.el).remove();
});
},

Expand Down

0 comments on commit 104c642

Please sign in to comment.