From fc699c2d97d2cfb8afa58c9b75189a06c0fdb72b Mon Sep 17 00:00:00 2001 From: rustandbone Date: Wed, 2 Aug 2023 14:41:40 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=9A=8C=EC=9B=90=EA=B0=80=EC=9E=85=20j?= =?UTF-8?q?s=20=EC=9D=B4=EB=AF=B8=EC=A7=80=20=EA=B2=BD=EB=A1=9C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 회원가입 js 이미지 경로 수정 Related to: #41 --- client/js/join.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/client/js/join.js b/client/js/join.js index 3876726..52aa60c 100644 --- a/client/js/join.js +++ b/client/js/join.js @@ -142,7 +142,7 @@ async function handleJoin(e) { }, ); alert(`회원가입을 환영합니다. ${userId.value}님`); - window.location.href = "http://localhost:5500/login.html"; + window.location.href = "./login.html"; } } @@ -164,11 +164,11 @@ closePw.addEventListener("click", function (event) { if (pwInput.type === "password") { attr(pwInput, "type", "text"); attr(pwInput, "autocomplete", "off"); - closePw.style.backgroundImage = `url('/image/login/eye.png')`; + closePw.style.backgroundImage = `url('./image/login/eye.png')`; } else { attr(pwInput, "type", "password"); attr(pwInput, "autocomplete", "current-password"); - closePw.style.backgroundImage = `url('/image/login/DesktopPw.png')`; + closePw.style.backgroundImage = `url('./image/login/DesktopPw.png')`; } }); @@ -178,11 +178,11 @@ closePwCheck.addEventListener("click", function (event) { if (pwInput.type === "password") { attr(pwInput, "type", "text"); attr(pwInput, "autocomplete", "off"); - closePwCheck.style.backgroundImage = `url('/image/login/eye.png')`; + closePwCheck.style.backgroundImage = `url('./image/login/eye.png')`; } else { attr(pwInput, "type", "password"); attr(pwInput, "autocomplete", "current-password"); - closePwCheck.style.backgroundImage = `url('/image/login/DesktopPw.png')`; + closePwCheck.style.backgroundImage = `url('./image/login/DesktopPw.png')`; } });