diff --git a/js/button.js b/js/button.js index 15d7dca644ae..d6ac668a70e7 100644 --- a/js/button.js +++ b/js/button.js @@ -110,7 +110,7 @@ .on('click.bs.button.data-api', '[data-toggle^="button"]', function (e) { var $btn = $(e.target) if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn') - Plugin.call($btn, 'toggle') + if (!$btn.hasClass('disabled')) Plugin.call($btn, 'toggle') if (!($(e.target).is('input[type="radio"]') || $(e.target).is('input[type="checkbox"]'))) e.preventDefault() }) .on('focus.bs.button.data-api blur.bs.button.data-api', '[data-toggle^="button"]', function (e) {