|
|
@ -425,7 +425,6 @@
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
$(".copy").on("click" , function(e) {
|
|
|
|
$(".copy").on("click" , function(e) {
|
|
|
|
debugger;
|
|
|
|
|
|
|
|
e.preventDefault();
|
|
|
|
e.preventDefault();
|
|
|
|
$("#copy").val(window.location.href);
|
|
|
|
$("#copy").val(window.location.href);
|
|
|
|
var target = $("#copy");
|
|
|
|
var target = $("#copy");
|
|
|
@ -722,21 +721,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
$("#edit_copy").on("click", function(e) {
|
|
|
|
$("#edit_copy").on("click", function(e) {
|
|
|
|
e.preventDefault();
|
|
|
|
e.preventDefault();
|
|
|
|
debugger;
|
|
|
|
|
|
|
|
$("#copy").val(window.location.href);
|
|
|
|
|
|
|
|
var target = $("#copy");
|
|
|
|
var target = $("#copy");
|
|
|
|
/*
|
|
|
|
|
|
|
|
$(".comment_text").each( function(idx,ele) {
|
|
|
|
$(".comment_text").each( function(idx,ele) {
|
|
|
|
if(ele.dataset.ctno == $ct_no) {
|
|
|
|
if(ele.dataset.ctno == $ct_no) {
|
|
|
|
target.val(ele.innerText);
|
|
|
|
target.val(ele.innerText);
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
*/
|
|
|
|
|
|
|
|
var urlbox = document.getElementById( 'copy' );
|
|
|
|
var urlbox = document.getElementById( 'copy' );
|
|
|
|
urlbox.select();
|
|
|
|
urlbox.select();
|
|
|
|
document.execCommand('copy');
|
|
|
|
document.execCommand('copy');
|
|
|
|
Swal.fire({text:"주소가 복사 되었습니다."});
|
|
|
|
Swal.fire({text:"댓글 내용이 복사 되었습니다."});
|
|
|
|
$("#option2").removeClass("open");
|
|
|
|
$("#option2").removeClass("open");
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|