1
0
Fork 0

Only store last opened panel for one reload (the POST reload after a submit)

This commit is contained in:
Jonny Tischbein 2018-11-21 19:23:06 +01:00
parent 278d42dbc9
commit 62f09fdd57

View file

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