Fix various style issues

This commit is contained in:
Guangcong Luo 2015-12-20 04:41:20 -05:00
parent 94f62e4ee4
commit d980ea78e6
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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);