mirror of
https://github.com/CNCKitchen/stlTexturizer.git
synced 2026-04-07 22:11:32 +00:00
Refactor code structure for improved readability and maintainability
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@
|
||||
// Apply saved theme before first paint to avoid flash
|
||||
(function() {
|
||||
const t = localStorage.getItem('stlt-theme');
|
||||
if (t === 'light') document.documentElement.setAttribute('data-theme', 'light');
|
||||
if (t !== 'dark') document.documentElement.setAttribute('data-theme', 'light');
|
||||
})();
|
||||
// Apply saved language before first paint to avoid flash
|
||||
(function() {
|
||||
|
||||
Reference in New Issue
Block a user