Remove unnecessary logging, fix bug that didn't seem to have any effect

This commit is contained in:
Tamius Han 2019-06-05 23:37:12 +02:00
parent f5b9311225
commit d6a9ea4831
2 changed files with 1 additions and 4 deletions

View File

@ -126,9 +126,6 @@ class CommsServer {
}
onConnect(port){
console.log("[processmessage] \nb\n\n\n\n\nonConnect\n\n\n\n\n\}\n")
var ths = this;
// poseben primer | special case

View File

@ -198,7 +198,7 @@ export default {
if(message.cmd === 'set-current-site'){
if (this.site) {
if (!site.host) {
if (!this.site.host) {
// dunno why this fix is needed, but sometimes it is
this.site.host = site.tabHostname;
}