Remove unnecessary logging, fix bug that didn't seem to have any effect
This commit is contained in:
parent
f5b9311225
commit
d6a9ea4831
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user