mirror of
https://github.com/NeonGamerBot-QK/saahild.com.git
synced 2025-05-10 23:53:05 +00:00
screenshot & title
This commit is contained in:
parent
e945704c46
commit
bbc11c69c9
2 changed files with 5 additions and 4 deletions
|
@ -10,7 +10,8 @@ export function runTitle() {
|
|||
}
|
||||
window.document.documentElement.className = "duration-500 ease-in-out "
|
||||
if (document.hasFocus()) {
|
||||
document.title = title0 || "Saahild.com"
|
||||
|
||||
document.title = title0?.toLowerCase() === "react app" ? "Saahild.com" : (title0 ?? "Saahild.com")
|
||||
window.document.documentElement.style.filter = ""
|
||||
} else {
|
||||
document.title = 'Come Back :('
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue