mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
Fixed search fields resetting to the last term instead of the query
This commit is contained in:
parent
81493f72be
commit
0523c0f400
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ function restoreOriginalValue() {
|
|||
|
||||
if (isSearchField(inputField) && originalQuery) {
|
||||
inputField.value = originalQuery;
|
||||
return;
|
||||
}
|
||||
|
||||
if (originalTerm) {
|
||||
|
|
Loading…
Reference in a new issue