Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9a2f26d9 authored by Adam Tauber's avatar Adam Tauber
Browse files

[enh] submit search on suggestion select - closes #807

parent 65cae857
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -86,6 +86,9 @@ $(document).ready(function(){
            },
            source: searx.searchResults.ttAdapter()
        });
        $('#q').bind('typeahead:selected', function(ev, suggestion) {
            $("#search_form").submit();
        });
    }
});
;/**
+0 −0

File changed.

Preview suppressed by a .gitattributes entry or the file's encoding is unsupported.

+3 −0
Original line number Diff line number Diff line
@@ -33,5 +33,8 @@ $(document).ready(function(){
            },
            source: searx.searchResults.ttAdapter()
        });
        $('#q').bind('typeahead:selected', function(ev, suggestion) {
            $("#search_form").submit();
        });
    }
});