mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-05-27 19:23:11 -05:00
Fix various style issues
This commit is contained in:
parent
94f62e4ee4
commit
d980ea78e6
|
|
@ -1083,7 +1083,7 @@ var Tools = {
|
|||
},
|
||||
|
||||
getPokemonIcon: function (pokemon) {
|
||||
this.getIcon(pokemon, true)
|
||||
return this.getIcon(pokemon, true);
|
||||
},
|
||||
getIcon: function (pokemon, newSize) {
|
||||
var num = 0;
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@
|
|||
this.el.innerHTML = '<ul class="utilichart">' + topbuf + bufs.join('') + '</ul>' + (this.renderingDone ? '' : '<ul class="utilichart"><li class="more"><button class="utilichart-all">All results</button></li></ul>');
|
||||
return true;
|
||||
};
|
||||
Search.prototype.all = function() {
|
||||
Search.prototype.all = function () {
|
||||
var query = this.q;
|
||||
var bufs = [[], [], [], [], [], [], []];
|
||||
var topbufIndex = -1;
|
||||
|
|
@ -226,7 +226,7 @@
|
|||
Search.renderRow = function (id, type, matchStart, matchLength, errorMessage) {
|
||||
switch (type) {
|
||||
case 'header':
|
||||
return '<li class="result"><h3>' +id + '</h3></li>';
|
||||
return '<li class="result"><h3>' + id + '</h3></li>';
|
||||
case 'pokemon':
|
||||
var pokemon = BattlePokedex[id];
|
||||
return Search.renderPokemonRow(pokemon, matchStart, matchLength, errorMessage);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user