mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-02 05:02:18 +08:00
Merge pull request #3181 from urbanrotnik/ur-sci-5519
Fix Projects filters history items [SCI-5519]
This commit is contained in:
commit
3639e63954
1 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ var filterDropdown = (function() {
|
|||
|
||||
function preventDropdownClose() {
|
||||
$('.dropdown-menu', $filterContainer).click((e) => {
|
||||
if (!$(e.target).is('input,a')) {
|
||||
if (!$(e.target).is('input,a,.keyword-text,.keyword-icon')) {
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
$('#textSearchFilterHistory').hide();
|
||||
|
@ -35,7 +35,7 @@ var filterDropdown = (function() {
|
|||
$('#textSearchFilterHistory').append(
|
||||
$(`<li class="dropdown-item">
|
||||
<a class="projects-search-keyword" href="#" data-keyword="${keyword}">
|
||||
<i class="fas fa-history"></i>
|
||||
<i class="fas fa-history keyword-icon"></i>
|
||||
<span class="keyword-text">${keyword}</span>
|
||||
</a>
|
||||
</li>`)
|
||||
|
|
Loading…
Reference in a new issue