|
@@ -90,7 +90,9 @@
|
|
|
// like race condition issue.
|
|
|
$(".search-option").blur(function(){
|
|
|
setTimeout(function() {
|
|
|
if ($(document.activeElement).attr('class') != "search") {
|
|
|
var focusedElement = $(document.activeElement);
|
|
|
|
|
|
if ( focusedElement.attr('id') != "search" && focusedElement.attr('class') != "search-option") {
|
|
|
$("#search-suggestions").fadeOut(200);
|
|
|
}
|
|
|
}, 10);
|