From 73ed7e7ffd1c71a8ce8d0907e25c0a7adad0c8ef Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Fri, 11 Nov 2022 13:54:43 +0000 Subject: [PATCH] Update content of files --- data/web/fragment.com/about.html | 4 ++-- data/web/fragment.com/js/auction.js | 9 +++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/data/web/fragment.com/about.html b/data/web/fragment.com/about.html index 7a8888194e..f151e781cd 100644 --- a/data/web/fragment.com/about.html +++ b/data/web/fragment.com/about.html @@ -38,9 +38,9 @@ - + - + diff --git a/data/web/fragment.com/js/auction.js b/data/web/fragment.com/js/auction.js index 136f81f263..f524a4febd 100644 --- a/data/web/fragment.com/js/auction.js +++ b/data/web/fragment.com/js/auction.js @@ -368,6 +368,9 @@ var Main = { } }, eMainSearchInput: function(e) { + if (!Aj.state.quickSearch) { + return; + } clearTimeout(Aj.state.searchTimeout); var cached_results = Main.getSearchCachedResult(); if (cached_results) { @@ -424,8 +427,10 @@ var Main = { filter: filter, sort: sort }, function(result) { - cache[cache_key] = result; - Main.updateResults(result); + if (result.ok) { + cache[cache_key] = result; + Main.updateResults(result); + } Aj.state.$mainSearchField.removeClass('loading'); }); }