From 206836b8c778d98328c0a28e16cdc0fd40e2a2a1 Mon Sep 17 00:00:00 2001 From: "NEW_GIL_HOME\\hyeon" Date: Tue, 30 Jul 2024 22:35:46 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BF=A0=ED=82=A4=20=EC=82=AD=EC=A0=9C=20?= =?UTF-8?q?=EC=8A=A4=ED=81=AC=EB=A6=BD=ED=8A=B8=20=EC=B6=94=EA=B0=80,=20?= =?UTF-8?q?=EC=9D=B8=ED=8A=B8=EB=A1=9C=20=EC=82=AC=EC=9A=B4=EB=93=9C,=20?= =?UTF-8?q?=EC=95=84=EC=BC=80=EC=9D=B4=EB=93=9C=EA=B2=8C=EC=9E=84=20?= =?UTF-8?q?=EC=BA=90=EB=9F=AC=EC=85=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/js/common.js | 21 ++++++++++++++------- product/pdp_in_car_game.html | 4 ++-- product/pdp_srs_plus.html | 4 ++-- 3 files changed, 18 insertions(+), 11 deletions(-) diff --git a/assets/js/common.js b/assets/js/common.js index 3ba8b0e..7e0c96d 100644 --- a/assets/js/common.js +++ b/assets/js/common.js @@ -1156,18 +1156,25 @@ function getCookie(name) { function deleteCookie(name) { document.cookie = name + "=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/"; $(".close-today input").prop("checked", false); + + $(".close-today").html( + ` 오늘 하루 재생하지 않기` + ); } // 팝업을 숨기는 함수 -function hideTodayIntroPopup(target) { +function hideTodayIntroPopup(name) { const videoElements = document.querySelectorAll(".video_wrap video"); - videoElements[0].pause(); - videoElements[0].currentTime = 0; - $(".video_wrap").hide(); - $(".editorWarp").removeClass("playing"); - if (target) { - setCookie(target, "true", 1); + // videoElements[0].pause(); + // videoElements[0].currentTime = 0; + // $(".video_wrap").hide(); + // $(".editorWarp").removeClass("playing"); + if (name) { + setCookie(name, "true", 1); } else { setCookie("hideIntroPopup", "true", 1); } + $(".close-today").html( + ` 오늘 하루 재생하지 않기` + ); } diff --git a/product/pdp_in_car_game.html b/product/pdp_in_car_game.html index 6d9da5d..d9a5a27 100644 --- a/product/pdp_in_car_game.html +++ b/product/pdp_in_car_game.html @@ -31,10 +31,10 @@ - + - + diff --git a/product/pdp_srs_plus.html b/product/pdp_srs_plus.html index 6798a65..89edf70 100644 --- a/product/pdp_srs_plus.html +++ b/product/pdp_srs_plus.html @@ -31,10 +31,10 @@ - + - +