Merge branch 'Radius/hotfix' into 'master'

Clear Bookstack article cache on first load

See merge request fronk/thetool!1866
This commit is contained in:
Luca Haid
2025-11-04 15:31:48 +00:00

View File

@@ -1,3 +1,8 @@
if (!localStorage.getItem('bookstack_cache_cleared')) {
localStorage.removeItem('bookstack_article_Radius');
localStorage.setItem('bookstack_cache_cleared', 'true');
}
document.addEventListener('DOMContentLoaded', async () => {
const linkEl = document.getElementById('bookstackLink');
if (!linkEl) return;