Skip to content

Commit bab8e8c

Browse files
committed
incorporated torbs PR from master
1 parent 70b6015 commit bab8e8c

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.host : "127.0.0.1";
21+
var host = (window.location.host !== '') ? 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)