mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-08 19:42:15 +09:00
Open most member popup menus in the same window #2154
This commit is contained in:
parent
64b2918559
commit
e22ae8259a
2 changed files with 7 additions and 2 deletions
|
|
@ -221,6 +221,11 @@
|
|||
var icon = item[i].icon;
|
||||
var target = item[i].target;
|
||||
|
||||
// Convert self to _self #2154
|
||||
if (target === 'self') {
|
||||
target = '_self';
|
||||
}
|
||||
|
||||
var actmatch = url.match(/\bact=(\w+)/) || url.match(/\b((?:disp|proc)\w+)/);
|
||||
var act = actmatch ? actmatch[1] : null;
|
||||
var classText = 'class="' + (classname ? classname : (act ? (act + ' ') : ''));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue