diff --git a/static/skin/index.js b/static/skin/index.js index 21a140ce..382ca0c2 100644 --- a/static/skin/index.js +++ b/static/skin/index.js @@ -126,6 +126,7 @@ spanTag.getElementsByTagName('a')[0].onclick = (event) => { event.preventDefault(); window.history.pushState({}, null, `${window.location.href.split('?')[0]}?lang=`); + setCookie(filterCookieName, 'lang='); resetAndFilter(); filterTypes.forEach(key => {document.getElementsByName(key)[0].value = params.get(key) || ''}); };