return not continue

This commit is contained in:
Jiiks 2016-12-02 09:18:51 +02:00
parent 422c18917c
commit a9a2d09ae0
2 changed files with 2 additions and 2 deletions

View File

@ -994,7 +994,7 @@ PublicServers.prototype.loadServers = function(dataset, search, clear) {
hits.forEach(function(hit) {
var source = hit._source;
if(source.invite_code === undefined) continue;
if(source.invite_code === undefined) return;
var icode = source.invite_code.replace(/ /g,'');
icode = self.escape(icode);
var html = '<div class="server-row">';

2
js/main.min.js vendored

File diff suppressed because one or more lines are too long