Skip to content
This repository was archived by the owner on Aug 7, 2020. It is now read-only.

Commit 1658fb6

Browse files
JisayAxelPeter
authored andcommitted
fix(oui-modal): remove one time binding on some attributes (#182)
1 parent 047a901 commit 1658fb6

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

dist/oui-angular.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/oui-angular.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/oui-modal/src/modal.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
</button>
99
</div>
1010
<div class="oui-modal__body"
11-
ng-class="::{'oui-modal__body_no-icon': !$ctrl.type}">
12-
<i ng-if="::!!$ctrl.type"
11+
ng-class="{'oui-modal__body_no-icon': !$ctrl.type}">
12+
<i ng-if="!!$ctrl.type"
1313
class="oui-icon oui-icon_bicolor"
14-
ng-class=":: 'oui-icon-' + $ctrl.type + '_circle'"
14+
ng-class="'oui-icon-' + $ctrl.type + '_circle'"
1515
aria-hidden="true"></i>
1616
<div class="oui-modal__loader" ng-if="$ctrl.loading">
1717
<oui-spinner></oui-spinner>
@@ -26,14 +26,14 @@
2626
<button ng-if="$ctrl.secondaryLabel"
2727
class="oui-button oui-button_secondary"
2828
type="button"
29-
ng-bind="::$ctrl.secondaryLabel"
29+
ng-bind="$ctrl.secondaryLabel"
3030
ng-click="$ctrl.secondaryAction()"
3131
ng-disabled="$ctrl.loading">
3232
</button>
3333
<button ng-if="$ctrl.primaryLabel"
3434
class="oui-button oui-button_primary"
3535
type="submit"
36-
ng-bind="::$ctrl.primaryLabel"
36+
ng-bind="$ctrl.primaryLabel"
3737
ng-click="$ctrl.primaryAction()"
3838
ng-disabled="$ctrl.loading">
3939
</button>

0 commit comments

Comments
 (0)