smoother 'added by me' filtering
This commit is contained in:
parent
ef307f1d46
commit
57a8b654ba
1 changed files with 3 additions and 6 deletions
|
@ -655,14 +655,11 @@ Metamaps.GlobalUI.Search = {
|
||||||
self.limitMapsToMe = !self.limitMapsToMe;
|
self.limitMapsToMe = !self.limitMapsToMe;
|
||||||
}
|
}
|
||||||
|
|
||||||
// set the value of the search equal to itself to retrigger the autocomplete event
|
// set the value of the search equal to itself to retrigger the
|
||||||
self.isOpen = false;
|
// autocomplete event
|
||||||
var searchQuery = $('.sidebarSearchField.tt-input').val();
|
var searchQuery = $('.sidebarSearchField.tt-input').val();
|
||||||
$(".sidebarSearchField").typeahead('val', '')
|
$(".sidebarSearchField").typeahead('val', '')
|
||||||
$(".sidebarSearchField").focus().typeahead('val', searchQuery).focus();
|
.typeahead('val', searchQuery);
|
||||||
setTimeout(function () {
|
|
||||||
self.isOpen = true;
|
|
||||||
}, 2000);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// when the user clicks minimize section, hide the results for that section
|
// when the user clicks minimize section, hide the results for that section
|
||||||
|
|
Loading…
Reference in a new issue