Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit c9b0d0b

Browse files
committed
fix(buttons): change to use attrs.disabled
- Change to use `attrs.disabled` Fixes #4088
1 parent 707fbf5 commit c9b0d0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/buttons/buttons.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ angular.module('ui.bootstrap.buttons', [])
6868

6969
//ui->model
7070
element.bind(buttonsCtrl.toggleEvent, function () {
71-
if ('disabled' in attrs) {
71+
if (attrs.disabled) {
7272
return;
7373
}
7474

0 commit comments

Comments
 (0)