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"); });