Fix #1732 inconsistent 'target' attribute in popup menus

This commit is contained in:
Kijin Sung 2021-06-19 22:30:18 +09:00
parent 865e83a46a
commit 856f2af743
5 changed files with 22 additions and 19 deletions

View file

@ -2585,7 +2585,7 @@ class memberController extends member
/**
* Nickname and click Log In to add a pop-up menu that appears when the method
*/
function addMemberPopupMenu($url, $str, $icon = '', $target = 'self', $class = '')
function addMemberPopupMenu($url, $str, $icon = '', $target = '_blank', $class = '')
{
$member_popup_menu_list = Context::get('member_popup_menu_list');
if(!is_array($member_popup_menu_list)) $member_popup_menu_list = array();