]> git.mxchange.org Git - friendica.git/commitdiff
Only store last opened panel for one reload (the POST reload after a submit)
authorJonny Tischbein <jonny_tischbein@systemli.org>
Wed, 21 Nov 2018 18:23:06 +0000 (19:23 +0100)
committerJonny Tischbein <jonny_tischbein@systemli.org>
Wed, 21 Nov 2018 18:23:06 +0000 (19:23 +0100)
view/theme/frio/templates/admin/site.tpl

index e638a14c953f11a7c7577b306f524249f058e7b3..6a6deb1e09fc9585b4033cecf4c0095b40412df4 100644 (file)
@@ -46,6 +46,7 @@
                if (activeTab) {
                        $("#" + activeTab).collapse('show');
                        window.scroll(0, $("#" + activeTab).offset().top - 120);
+                       localStorage.removeItem('activeTab');
                }
        });
 </script>