feat: retire data-animations from index.html, login.html, and base_dashboard.html

This commit is contained in:
James Smith
2026-05-19 22:25:38 +01:00
parent 5aba99f998
commit 47ab080ca8
3 changed files with 4 additions and 35 deletions
+3 -5
View File
@@ -2,12 +2,10 @@
<html lang="en">
<head>
<script>
// Apply animations preference immediately to prevent flash
// Apply UI tier immediately to prevent flash
(function() {
var animations = localStorage.getItem('intercept-animations');
if (animations === 'off') {
document.documentElement.setAttribute('data-animations', 'off');
}
var tier = localStorage.getItem('intercept-ui-tier') || 'enhanced';
document.documentElement.setAttribute('data-ui-tier', tier);
})();
</script>
<meta charset="UTF-8" />