diff --git a/js/common.js b/js/common.js index 6a1bd75a1..d69064d4f 100644 --- a/js/common.js +++ b/js/common.js @@ -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; + } + } +} + /** * 메일 창 **/ diff --git a/lib/common.lib.php b/lib/common.lib.php index 045e75e37..23f07d00b 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -1280,7 +1280,7 @@ function get_sideview($mb_id, $name='', $email='', $homepage='') $str2 .= "이름으로 검색\n"; } if($mb_id) - $str2 .= "전체게시물\n"; + $str2 .= "전체게시물\n"; if($is_admin == "super" && $mb_id) { $str2 .= "회원정보변경\n"; $str2 .= "포인트내역\n";