From: Jonny Tischbein Date: Wed, 21 Nov 2018 18:23:06 +0000 (+0100) Subject: Only store last opened panel for one reload (the POST reload after a submit) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=62f09fdd574842b7453e0897d7e835faae2c6f6e;p=friendica.git Only store last opened panel for one reload (the POST reload after a submit) --- diff --git a/view/theme/frio/templates/admin/site.tpl b/view/theme/frio/templates/admin/site.tpl index e638a14c95..6a6deb1e09 100644 --- a/view/theme/frio/templates/admin/site.tpl +++ b/view/theme/frio/templates/admin/site.tpl @@ -46,6 +46,7 @@ if (activeTab) { $("#" + activeTab).collapse('show'); window.scroll(0, $("#" + activeTab).offset().top - 120); + localStorage.removeItem('activeTab'); } });