From 972d3474dbc7a9d0aeefaec4d93175a6ad59ff3b Mon Sep 17 00:00:00 2001 From: "M. C. DeMarco" Date: Tue, 17 Mar 2015 18:48:23 -0400 Subject: [PATCH] Fix blur issue with timeout. --- bootstrap3/bootstrap-without-jquery.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap3/bootstrap-without-jquery.js b/bootstrap3/bootstrap-without-jquery.js index 39d4cb1..aea1374 100644 --- a/bootstrap3/bootstrap-without-jquery.js +++ b/bootstrap3/bootstrap-without-jquery.js @@ -238,6 +238,6 @@ dropdown = dropdownList[k]; dropdown.setAttribute('tabindex', '0'); // Fix to make onblur work in Chrome dropdown.onclick = doDropdown; - dropdown.onblur = closeDropdown; + dropdown.onblur = setTimeout(closeDropdown,250); // Fix to make onblur work in Safari and FF. } })();