From b132bf91fe88e7fa087777aee142f5f18e29b84d Mon Sep 17 00:00:00 2001 From: kyebyungha Date: Thu, 12 May 2022 16:46:24 +0900 Subject: [PATCH] =?UTF-8?q?=EB=8B=B5=EA=B8=80=20=EB=B3=B5=EC=82=AC=20?= =?UTF-8?q?=EA=B8=B0=EB=8A=A5=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/ftl/m/bf_board/view_bf_detail_board.ftl | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/main/webapp/WEB-INF/views/ftl/m/bf_board/view_bf_detail_board.ftl b/src/main/webapp/WEB-INF/views/ftl/m/bf_board/view_bf_detail_board.ftl index a00000c..023c538 100644 --- a/src/main/webapp/WEB-INF/views/ftl/m/bf_board/view_bf_detail_board.ftl +++ b/src/main/webapp/WEB-INF/views/ftl/m/bf_board/view_bf_detail_board.ftl @@ -424,8 +424,7 @@ e.preventDefault(); }); - $(".copy").on("click" , function(e) { - debugger; + $(".copy").on("click" , function(e) { e.preventDefault(); $("#copy").val(window.location.href); var target = $("#copy"); @@ -722,21 +721,17 @@ $("#edit_copy").on("click", function(e) { e.preventDefault(); - debugger; - $("#copy").val(window.location.href); var target = $("#copy"); - /* $(".comment_text").each( function(idx,ele) { if(ele.dataset.ctno == $ct_no) { target.val(ele.innerText); return; } }); - */ var urlbox = document.getElementById( 'copy' ); urlbox.select(); document.execCommand('copy'); - Swal.fire({text:"주소가 복사 되었습니다."}); + Swal.fire({text:"댓글 내용이 복사 되었습니다."}); $("#option2").removeClass("open"); });