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

Commit

Permalink
style(buttons): change bind to on
Browse files Browse the repository at this point in the history
Closes #4464
  • Loading branch information
Foxandxss authored and wesleycho committed Sep 24, 2015
1 parent 81a38d7 commit ec6c0bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/buttons/buttons.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ angular.module('ui.bootstrap.buttons', [])
};

//ui->model
element.bind(buttonsCtrl.toggleEvent, function() {
element.on(buttonsCtrl.toggleEvent, function() {
if (attrs.disabled) {
return;
}
Expand Down Expand Up @@ -73,7 +73,7 @@ angular.module('ui.bootstrap.buttons', [])
};

//ui->model
element.bind(buttonsCtrl.toggleEvent, function() {
element.on(buttonsCtrl.toggleEvent, function() {
if (attrs.disabled) {
return;
}
Expand Down

0 comments on commit ec6c0bc

Please sign in to comment.