diff options
author | Gleb Mazovetskiy <glex.spb@gmail.com> | 2013-08-03 02:27:48 +0400 |
---|---|---|
committer | Gleb Mazovetskiy <glex.spb@gmail.com> | 2013-08-03 02:27:48 +0400 |
commit | 386ab0201ad494107f3f061a05e6ad83d2110ba9 (patch) | |
tree | 59fdfcd1f4818e588af8d14e67496b140a3078d0 /vendor/assets/javascripts/bootstrap | |
parent | b80b9b5604c446b240a74c33d2c570d2776b6317 (diff) |
update upstream
Diffstat (limited to 'vendor/assets/javascripts/bootstrap')
-rw-r--r-- | vendor/assets/javascripts/bootstrap/button.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vendor/assets/javascripts/bootstrap/button.js b/vendor/assets/javascripts/bootstrap/button.js index ae5602fc..fc73b555 100644 --- a/vendor/assets/javascripts/bootstrap/button.js +++ b/vendor/assets/javascripts/bootstrap/button.js @@ -56,7 +56,9 @@ var $parent = this.$element.closest('[data-toggle="buttons"]') if ($parent.length) { - var $input = this.$element.find('input').prop('checked', !this.$element.hasClass('active')) + var $input = this.$element.find('input') + .prop('checked', !this.$element.hasClass('active')) + .trigger('change') if ($input.prop('type') === 'radio') $parent.find('.active').removeClass('active') } |