mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-03-21 17:50:29 -05:00
Fix misbehaving ad
For whatever reason, the ad code is removing any text that says "Download", which is making searches for Porygon (which has "Download" as an ability) stop working. This is a simple workaround for that issue.
This commit is contained in:
parent
12f3840ede
commit
8c8b11751c
|
|
@ -154,6 +154,10 @@
|
|||
|
||||
i++;
|
||||
}
|
||||
|
||||
// misbehaving ad
|
||||
buf = buf.replace(/>Download</g, '>Down<!-- -->load<');
|
||||
|
||||
if (!this.renderedIndex) {
|
||||
this.el.innerHTML = '<ul class="utilichart" style="height:' + (resultSet.length * 33) + 'px">' + buf + (!this.renderingDone ? '<li class="result more"><p><button class="button big">More</button></p></li>' : '') + '</ul>';
|
||||
this.moreVisible = true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user