From b8c3c5c19b2154d157256cec839c9b0a40b3e7b4 Mon Sep 17 00:00:00 2001 From: Heinrich Fenkart Date: Thu, 30 Oct 2014 04:45:04 +0100 Subject: grunt --- docs/dist/js/bootstrap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/dist/js/bootstrap.js') diff --git a/docs/dist/js/bootstrap.js b/docs/dist/js/bootstrap.js index 8dff365fb..8f24ca05e 100644 --- a/docs/dist/js/bootstrap.js +++ b/docs/dist/js/bootstrap.js @@ -282,7 +282,7 @@ if (typeof jQuery === 'undefined') { e.preventDefault() }) .on('focus.bs.button.data-api blur.bs.button.data-api', '[data-toggle^="button"]', function (e) { - $(e.target).closest('.btn').toggleClass('focus', e.type == 'focus') + $(e.target).closest('.btn').toggleClass('focus', /^focus(in)?$/.test(e.type)) }) }(jQuery); -- cgit v1.2.3