mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-11 14:37:12 +00:00
[BS5] remember last nav pill - revert id var
This commit is contained in:
1 parent
6210f06bc0
commit
304655f7ff
1 file changed
+2
-2
@@ -66,7 +66,7 @@ $(document).ready(function() {
|
||||
if ($(this).data('dont-remember') == 1) {
|
||||
return true;
|
||||
}
|
||||
var id = $(this).attr('id');
|
||||
var id = $(this).parents('[role="tablist"]').attr('id');
|
||||
var key = 'lastTag';
|
||||
if (id) {
|
||||
key += ':' + id;
|
||||
@@ -84,7 +84,7 @@ $(document).ready(function() {
|
||||
if ($(this).data('dont-remember') == 1) {
|
||||
return true;
|
||||
}
|
||||
var id = $(this).attr('id');
|
||||
var id = $(this).parents('[role="tablist"]').attr('id');;
|
||||
var key = 'lastTag';
|
||||
if (id) {
|
||||
key += ':' + id;
|
||||
|
||||
Reference in new issue
Block a user