|
|
@@ -1575,8 +1575,9 @@ function sendSns(sns, url, txt, media, description)
|
|
|
var _media = encodeURIComponent(media);
|
|
|
var _description = encodeURIComponent(description);
|
|
|
|
|
|
- _url = location.protocol + encodeURIComponent(url);
|
|
|
- _url = _url.replaceAll('#enp_mbris','') +'&share=Y'
|
|
|
+ _url = location.protocol + _url.replaceAll('#enp_mbris','') + '&share=Y'
|
|
|
+// _url = location.protocol + encodeURIComponent(url);
|
|
|
+
|
|
|
switch(sns)
|
|
|
{
|
|
|
case 'facebook':
|
|
|
@@ -1593,9 +1594,8 @@ function sendSns(sns, url, txt, media, description)
|
|
|
|
|
|
var kakaoInitCnt = 0; //카카오 초기화 카운트, 재실행 방지를 위해 사용함
|
|
|
function cfnSendToKakao(linkUrl, linkNm, linkImg) {
|
|
|
- linkUrl = location.protocol + encodeURIComponent(linkUrl);
|
|
|
- linkUrl = linkUrl.replaceAll('#enp_mbris','') +'&share=Y';
|
|
|
-
|
|
|
+ linkUrl = location.protocol + linkUrl.replaceAll('#enp_mbris','') + '&share=Y';
|
|
|
+
|
|
|
// Kakao Key
|
|
|
if ( kakaoInitCnt == 0 ) {
|
|
|
Kakao.init(_kakaoDomainKey);
|
|
|
@@ -1628,8 +1628,8 @@ function cfnSendToKakao(linkUrl, linkNm, linkImg) {
|
|
|
}
|
|
|
|
|
|
function cfnSendToKakaoMob(linkUrl, linkNm, linkImg) {
|
|
|
- linkUrl = location.protocol + encodeURIComponent(linkUrl);
|
|
|
- linkUrl = linkUrl.replaceAll('#enp_mbris','') +'&share=Y';
|
|
|
+ linkUrl = location.protocol + linkUrl.replaceAll('#enp_mbris','') + '&share=Y';
|
|
|
+
|
|
|
// Kakao Key
|
|
|
if ( kakaoInitCnt == 0 ) {
|
|
|
Kakao.init(_kakaoDomainKey);
|