Skip to content
This repository was archived by the owner on Dec 10, 2019. It is now read-only.

Commit 4b910f7

Browse files
author
Brian Muenzenmeyer
committed
Merge pull request #74 from donaldpcook/dev
Updated host to look for empty string in hostname instead of host
2 parents 8c85264 + 4f27c6f commit 4b910f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/listeners/synclisteners.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ var wsnConnected = false;
1818
var wsc;
1919
var wscConnected = false;
2020
var dataPrevious = 0;
21-
var host = (window.location.host !== '') ? window.location.hostname : '127.0.0.1';
21+
var host = (window.location.hostname !== '') ? window.location.hostname : '127.0.0.1';
2222

2323
// handle page updates from one browser to another
2424
function connectNavSync() {

0 commit comments

Comments
 (0)