File tree 1 file changed +3
-2
lines changed
play.pokemonshowdown.com/js
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1249
1249
var resource = formatInfo . resources [ i ] ;
1250
1250
// these are not <li> because that adds too much padding around each entry, making the whole thing
1251
1251
// take up too much space
1252
- buf += '<small style="padding: 1">- <a href="' + resource . url + '">' + resource . resource_name + '</a></small><br />' ;
1252
+ buf += '<small style="padding: 1">- <a href="' + resource . url + '" target="_blank" >' + resource . resource_name + '</a></small><br />' ;
1253
1253
}
1254
1254
}
1255
- buf += '<small>Find more helpful resources for this tier on <a href="' + formatInfo . url + '">the Smogon Dex</a>.' ;
1255
+ var desc = formatInfo . resources . length ? 'more ' : '' ;
1256
+ buf += '<small>Find ' + desc + 'helpful resources for this tier on <a href="' + formatInfo . url + '" target="_blank">the Smogon Dex</a>.' ;
1256
1257
buf += '<br />' ;
1257
1258
}
1258
1259
buf += '</ol>' ;
You can’t perform that action at this time.
0 commit comments