mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-06-19 04:50:40 +00:00
Fix theme localStorage collision with rspamd UI
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
$(document).ready(function() {
|
||||
var theme = localStorage.getItem("theme");
|
||||
localStorage.clear();
|
||||
localStorage.setItem("theme", theme);
|
||||
var theme = localStorage.getItem("mailcow_theme");
|
||||
if (theme !== null) {
|
||||
localStorage.setItem("mailcow_theme", theme);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user