added comment next to some weird hack

This commit is contained in:
Tamius Han 2018-11-09 00:57:47 +01:00
parent 701a1b1123
commit a321789c34

View File

@ -30,6 +30,7 @@ async function processReceivedMessage(message, port){
if(message.cmd === 'set-current-site'){
if (site) {
if (!site.host) {
// dunno why this fix is needed, but sometimes it is
site.host = site.tabHostname;
}
}