mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2025-08-17 08:36:42 +00:00
Fixed bug on adding new host
This commit is contained in:
parent
c2ec8f377e
commit
ba66f5448d
@ -322,7 +322,7 @@ function addHost() {
|
||||
|
||||
pairTo(_nvhttpHost, function () {
|
||||
// Check if we already have record of this host
|
||||
if (hosts[_nvhttpHost.serverUid] !== null) {
|
||||
if (hosts[_nvhttpHost.serverUid] !== undefined) {
|
||||
// Just update the addresses
|
||||
hosts[_nvhttpHost.serverUid].address = _nvhttpHost.address;
|
||||
hosts[_nvhttpHost.serverUid].userEnteredAddress = _nvhttpHost.userEnteredAddress;
|
||||
|
Loading…
x
Reference in New Issue
Block a user