fix #2142 onclick이 사용된 새 창 열기를 target 속성으로 변경

- 통합검색 모듈 misol_town 스킨도 마찬가지로 수정
This commit is contained in:
bnu 2017-09-08 15:21:14 +09:00 committed by Kijin Sung
parent 1bf96e646e
commit 3ee3d63cb7
32 changed files with 48 additions and 49 deletions

View file

@ -101,7 +101,7 @@ class image_link extends EditorHandler
if($link_url)
{
if($open_window =='Y') $code = sprintf('<a href="%s" onclick="window.open(this.href);return false;">%s</a>', $link_url, $code);
if($open_window =='Y') $code = sprintf('<a href="%s" target="_blank" rel="noopener">%s</a>', $link_url, $code);
else $code = sprintf('<a href="%s" >%s</a>', $link_url, $code);
}
return $code;