Started seperating the main.go package into multiple packages

This commit is contained in:
2017-12-17 21:49:32 -05:00
parent c408801447
commit b7c5032c37
3 changed files with 5 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
package main
package settings
import (
"github.com/anacrolix/dht"

View File

@@ -42,11 +42,11 @@ ws.onmessage = function (evt) { //When we recieve a message from the websocket
ActivePeers: clientUpdate.data[i].ActivePeers,
ETA: clientUpdate.data[i].ETA,
})
}
var newTitle = '(' + clientUpdate.total + ')' + title; //updating the title
document.title = newTitle;
} else if (clientUpdate) {
}
}