diff --git a/js/angular/directive/actionSheet.js b/js/angular/directive/actionSheet.js index 17578e3e85a..3beac7cf605 100644 --- a/js/angular/directive/actionSheet.js +++ b/js/angular/directive/actionSheet.js @@ -36,7 +36,7 @@ IonicModule '
' + '
' + '
' + - '' + + '' + '' + '
' + '
' + diff --git a/js/angular/service/actionSheet.js b/js/angular/service/actionSheet.js index ea054b8da49..24167a46433 100644 --- a/js/angular/service/actionSheet.js +++ b/js/angular/service/actionSheet.js @@ -145,7 +145,7 @@ function($rootScope, $compile, $animate, $timeout, $ionicTemplateLoader, $ionicP element.remove(); // scope.cancel.$scope is defined near the bottom scope.cancel.$scope = sheetEl = null; - (done || noop)(); + (done || noop)(opts.buttons); }); };