fixup 0a865318: preserve normal behavior on normal links

This commit is contained in:
tophf 2017-12-10 10:49:34 +03:00
parent b365962bbf
commit f120ae9753

View File

@ -427,7 +427,7 @@ Object.assign(handleEvent, {
.then(activeTab => openURL({ .then(activeTab => openURL({
url: this.href || this.dataset.href, url: this.href || this.dataset.href,
index: activeTab.index + 1, index: activeTab.index + 1,
active: false, active: msg ? false : undefined,
})) }))
.then(msg && ( .then(msg && (
function poll(tab, t0 = performance.now()) { function poll(tab, t0 = performance.now()) {