mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-06 17:27:59 +00:00
Fix getServer returning undefined variable rather than null if no servers are specified
This commit is contained in:
@@ -814,7 +814,7 @@ Remote.prototype.getServer = function() {
|
||||
}
|
||||
|
||||
if (!this._servers.length) {
|
||||
return result;
|
||||
return null;
|
||||
}
|
||||
|
||||
var connectedServers = this.getConnectedServers();
|
||||
|
||||
Reference in New Issue
Block a user