diff --git a/public/listeners/synclisteners.js b/public/listeners/synclisteners.js index e0eca083c..218bdfa3f 100644 --- a/public/listeners/synclisteners.js +++ b/public/listeners/synclisteners.js @@ -18,7 +18,7 @@ var wsnConnected = false; var wsc; var wscConnected = false; var dataPrevious = 0; -var host = (window.location.host !== '') ? window.location.hostname : '127.0.0.1'; +var host = (window.location.hostname !== '') ? window.location.hostname : '127.0.0.1'; // handle page updates from one browser to another function connectNavSync() {