쪽지 보기에서 사이드뷰 전체게시물 링크를 opener 로 보내게금 수정

This commit is contained in:
thisgun
2018-06-04 10:55:34 +09:00
parent 43cafe7753
commit 5048ac79d2
2 changed files with 13 additions and 1 deletions

View File

@ -343,6 +343,18 @@ var win_memo = function(href) {
new_win.focus();
}
/**
* 쪽지 창
**/
var check_goto_new = function(href, event) {
if( !(typeof g5_is_mobile != "undefined" && g5_is_mobile) ){
if (window.opener && window.opener.document && window.opener.document.getElementById) {
event.preventDefault ? event.preventDefault() : (event.returnValue = false);
window.opener.document.location.href = href;
}
}
}
/**
* 메일 창
**/