From 3ba0d0516e5cabce8ebcc9a27c0fe069fa23f52c Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 9 Aug 2018 16:13:50 +0200 Subject: simple theme update - npm package update - apply #1226 - implement vim help dialog - display cookies and search URL with preferences - allow to enable / disable Open Access DOI rewrite - add a clear text button on the left of the search button - implement #1011 : the HTML title page is not set when using POST - remove searx/static/themes/simple/img/loader.gif - use full width when only there are only images as result --- searx/static/themes/simple/js/searx_src/searx_mapresult.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'searx/static/themes/simple/js/searx_src/searx_mapresult.js') diff --git a/searx/static/themes/simple/js/searx_src/searx_mapresult.js b/searx/static/themes/simple/js/searx_src/searx_mapresult.js index 823f64815..869d07da0 100644 --- a/searx/static/themes/simple/js/searx_src/searx_mapresult.js +++ b/searx/static/themes/simple/js/searx_src/searx_mapresult.js @@ -90,13 +90,14 @@ newHtml += ""; } } - result_table_loadicon.classList.add('invisible'); + result_table_loadicon.parentNode.removeChild(result_table_loadicon); result_table.classList.remove('invisible'); result_table.querySelector("tbody").innerHTML = newHtml; } }) .catch(function() { - result_table_loadicon.innerHTML = result_table_loadicon.innerHTML + "

could not load data!

"; + result_table_loadicon.classList.remove('invisible'); + result_table_loadicon.innerHTML = "could not load data!"; }); } } -- cgit v1.2.3