🍙 removed debug logs

This commit is contained in:
Shiba 2022-08-09 17:06:41 +00:00
parent 4295dbe1fe
commit 15f03b3bcc

View file

@ -256,7 +256,6 @@ import { getExtensionSettingsAsync, getSourcePlatfromSettingsFromHostname, getTa
if (settings.redirect) { if (settings.redirect) {
const target = (await getTargetsBySources(source))[source.id] const target = (await getTargetsBySources(source))[source.id]
if (!target) return if (!target) return
console.log(url.href, urlHrefCache)
if (url.href === urlHrefCache) return if (url.href === urlHrefCache) return
const lbryURL = getLbryUrlByTarget(target) const lbryURL = getLbryUrlByTarget(target)
@ -276,7 +275,6 @@ import { getExtensionSettingsAsync, getSourcePlatfromSettingsFromHostname, getTa
location.replace(lbryURL) location.replace(lbryURL)
} }
else { else {
console.log('open', lbryURL.href)
openNewTab(lbryURL, document.hasFocus()) openNewTab(lbryURL, document.hasFocus())
if (window.history.length === 1) window.close() if (window.history.length === 1) window.close()