mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(popup): hide buttons div if there's no buttons to show. Fixes #2344
This commit is contained in:
2
js/angular/service/popup.js
vendored
2
js/angular/service/popup.js
vendored
@@ -8,7 +8,7 @@ var POPUP_TPL =
|
||||
'</div>' +
|
||||
'<div class="popup-body">' +
|
||||
'</div>' +
|
||||
'<div class="popup-buttons">' +
|
||||
'<div class="popup-buttons" ng-show="buttons.length">' +
|
||||
'<button ng-repeat="button in buttons" ng-click="$buttonTapped(button, $event)" class="button" ng-class="button.type || \'button-default\'" ng-bind-html="button.text"></button>' +
|
||||
'</div>' +
|
||||
'</div>' +
|
||||
|
||||
Reference in New Issue
Block a user