This commit is contained in:
Jon Atkins 2015-07-07 21:48:22 +01:00
commit 522ed65795

View File

@ -225,6 +225,8 @@ addHook('search', function(query) {
$.each(portals, function(guid, portal) {
var data = portal.options.data;
if(!data.title) return;
if(data.title.toLowerCase().indexOf(term) !== -1) {
var team = portal.options.team;
var color = team==TEAM_NONE ? '#CCC' : COLORS[team];