return not continue
This commit is contained in:
parent
422c18917c
commit
a9a2d09ae0
|
@ -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">';
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue