We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a31f8d0 + 03ef5e5 commit ab4e3a5Copy full SHA for ab4e3a5
static/search.js
@@ -463,21 +463,6 @@ var Search = Control.extend({
463
self.clear();
464
});
465
}
466
-
467
- // if we click the list item, navigate
468
- // if the target element is an anchor tag, simply clear
469
- if(this.$resultsContainer && this.$resultsContainer.length){
470
- this.$resultsContainer.on("click.search-component", ".search-results > ul > li", function(ev){
471
- var $target = $(ev.target),
472
- $a;
473
474
- if(!$target.is("a")){
475
- $a = $target.closest("li").find("a");
476
- self.navigate($a.attr("href"));
477
- return;
478
- }
479
- });
480
481
},
482
unbindResultsEvents: function(){
483
//hide the search on cancel click
0 commit comments