이지우 - 사용자 카카오 내용 미리보기 ex)카카오 템플릿 등록 : 미리보기 스크립트 html > text로 수정
@c598a181cbefb0ab156dd17dc3fef6f4429afcec
--- src/main/webapp/js/kakao/templateComm.js
+++ src/main/webapp/js/kakao/templateComm.js
... | ... | @@ -23,9 +23,9 @@ |
| 23 | 23 |
$('.nowChar').text(conLeng + " /");
|
| 24 | 24 |
$('.template_text').show();
|
| 25 | 25 |
if(repContent != ''){
|
| 26 |
- $('.template_text').html(repContent);
|
|
| 26 |
+ $('.template_text').text(repContent);
|
|
| 27 | 27 |
}else{
|
| 28 |
- $('.template_text').html("내용 미리보기");
|
|
| 28 |
+ $('.template_text').text("내용 미리보기");
|
|
| 29 | 29 |
} |
| 30 | 30 |
|
| 31 | 31 |
} |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?