From 1df74e274dbafa00e673d023712140394e2c520c Mon Sep 17 00:00:00 2001 From: "emmanuel.rizky" Date: Mon, 21 Jul 2025 22:05:41 +0700 Subject: [PATCH] Fix: Update form title and remove unused user details code This commit updates the form title in index.html to "Mayagen Demo Gratis". It also removes unused code related to user details from script.js, which was likely leftover from a previous feature and is no longer needed. --- form-page/index.html | 2 +- form-page/script.js | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/form-page/index.html b/form-page/index.html index e5e61be..0ecb782 100644 --- a/form-page/index.html +++ b/form-page/index.html @@ -23,7 +23,7 @@
-

Dapatkan Demo Gratis

+

Mayagen Demo Gratis

Silakan isi formulir di bawah ini untuk melanjutkan ke halaman demo.

diff --git a/form-page/script.js b/form-page/script.js index a925616..83e3f9f 100644 --- a/form-page/script.js +++ b/form-page/script.js @@ -278,15 +278,6 @@ document.addEventListener('DOMContentLoaded', function() { window.addEventListener('resize', setVh); window.addEventListener('load', setVh); - const userNameElement = document.querySelector('.user-details h2'); - if (userNameElement) { - userNameElement.textContent = nama; // Set user name in chat header - } - const userInitialElement = document.querySelector('.avatar'); - if (userInitialElement) { - userInitialElement.textContent = nama.split(' ').map(n => n[0]).join('').substring(0, 1); - } - toggleAttachmentIcons(true); const chatArea = document.querySelector('.chat-area'); if (chatArea) {