Changeset - 555163555332
[Not reviewed]
default
0 1 0
Branko Majic (branko) - 10 years ago 2013-10-23 11:05:57
branko@majic.rs
CONNT-23: Do not hide search suggestions when moving from search options to search field (keyboard navigation).
1 file changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
conntrackt/static/conntrackt.js
Show inline comments
 
@@ -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);
0 comments (0 inline, 0 general)