修复数据库
This commit is contained in:
@@ -5,8 +5,8 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta name="description" content="LDNET-GA">
|
<meta name="description" content="LDNET-GA">
|
||||||
<title>LDNET-GA</title>
|
<title></title>
|
||||||
<link rel="icon" id="siteFavicon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>📊</text></svg>">
|
<link rel="icon" id="siteFavicon" href="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7">
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
<link
|
<link
|
||||||
@@ -30,11 +30,16 @@
|
|||||||
document.documentElement.classList.add('light-theme');
|
document.documentElement.classList.add('light-theme');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Also apply title if available to prevent flicker
|
// Also apply title and favicon if available to prevent flicker
|
||||||
if (settings.page_name) {
|
if (settings.page_name) {
|
||||||
document.title = settings.page_name;
|
document.title = settings.page_name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (settings.favicon_url) {
|
||||||
|
const link = document.getElementById('siteFavicon');
|
||||||
|
if (link) link.href = settings.favicon_url;
|
||||||
|
}
|
||||||
|
|
||||||
// Advanced Anti-Flicker: Wait for header elements to appear
|
// Advanced Anti-Flicker: Wait for header elements to appear
|
||||||
const observer = new MutationObserver(function(mutations, me) {
|
const observer = new MutationObserver(function(mutations, me) {
|
||||||
const logoText = document.getElementById('logoText');
|
const logoText = document.getElementById('logoText');
|
||||||
|
|||||||
Reference in New Issue
Block a user