Only store last opened panel for one reload (the POST reload after a submit)
This commit is contained in:
parent
278d42dbc9
commit
62f09fdd57
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue