Add a .product-name class

This commit is contained in:
2025-08-28 11:29:04 +03:00
Unverified
parent 34fd4fbfbf
commit 7f18a3a305
4 changed files with 8 additions and 6 deletions
+4 -2
View File
@@ -6,9 +6,11 @@
*/
import { showLogin } from "../navigation";
import { id } from "../utils/utils";
import { PRODUCT_NAME } from "./config";
showLogin();
id("productname").textContent = PRODUCT_NAME;
document.querySelectorAll(".product-name").forEach(el => {
el.textContent = PRODUCT_NAME;
});
document.title = PRODUCT_NAME;