From e5f62ca4e560c1c89088a5fd7036510a1cc46336 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Fiala?= Date: Wed, 22 Jul 2020 08:02:19 +0200 Subject: [PATCH] search: fix the "occured" search error typo * Fixes the "occured" typo when the search endpoint is not reachable, as reported in the bug 1859259 Signed-off-by: Jiri Fiala --- _javascripts/hc-search.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_javascripts/hc-search.js b/_javascripts/hc-search.js index 1f1fe8f4ba..7577e4565b 100644 --- a/_javascripts/hc-search.js +++ b/_javascripts/hc-search.js @@ -62,7 +62,7 @@ function hcsearch(searchParams) { // GET success if (hcsearchresults == "") { // success, but no response (response code mismatch) - $("#hc-search-result").append("

An error occured while retrieving search results. Please try again later.

"); + $("#hc-search-result").append("

An error occurred while retrieving search results. Please try again later.

"); hcSearchIndicator.hide(); } if (hcsearchresults.response.result) { @@ -99,7 +99,7 @@ function hcsearch(searchParams) { hcSearchIndicator.hide(); }).fail(function(response) { // GET error - hcSearchResult.append("

An error occured while retrieving search results. Please try again later.

"); + hcSearchResult.append("

An error occurred while retrieving search results. Please try again later.

"); hcSearchIndicator.hide(); }); } // function hcsearch() \ No newline at end of file