admin: avoid HTML button without type
This commit is contained in:
parent
1c09ae2fa8
commit
665fd301c6
17 changed files with 48 additions and 48 deletions
|
|
@ -63,8 +63,8 @@
|
|||
<ul ng-if="box.list">
|
||||
<li ng-repeat="i in box.list">{{ i }}</li>
|
||||
</ul>
|
||||
<button class="btn btn-sm btn-success" ng-if="box.yes || box.no" ng-click="box.yes()">Yes</button>
|
||||
<button class="btn btn-sm btn-danger" ng-if="box.yes || box.no" ng-click="box.no()">No</button>
|
||||
<button type="button" class="btn btn-sm btn-success" ng-if="box.yes || box.no" ng-click="box.yes()">Yes</button>
|
||||
<button type="button" class="btn btn-sm btn-danger" ng-if="box.yes || box.no" ng-click="box.no()">No</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Reference in a new issue