Difference between revisions of "Widget:EnemyMapDropdownTest"

From Dragalia Lost Wiki
Jump to navigation Jump to search
imported>Elaeagnifolia
imported>Elaeagnifolia
m
Line 30: Line 30:
  
 
if (hashIndex > -1) {
 
if (hashIndex > -1) {
var map = decodeURI(url.substring(hashIndex+1).replace("_"," "));
+
var map = decodeURI(url.substring(hashIndex+1).replace(/_/g," "));
 
if (maps.includes(map)) {
 
if (maps.includes(map)) {
 
return map;
 
return map;

Revision as of 15:06, 20 December 2018