Fix: avoid empty search param
This commit is contained in:
parent
fa487bfaba
commit
c2ac963232
|
@ -583,7 +583,7 @@ Object.assign(handleEvent, {
|
||||||
// FIXME: this only works if popup is closed
|
// FIXME: this only works if popup is closed
|
||||||
this.eventHandled = true;
|
this.eventHandled = true;
|
||||||
API.openManage({
|
API.openManage({
|
||||||
search: event.shiftKey || event.button === 2 ?
|
search: tabURL && (event.shiftKey || event.button === 2) ?
|
||||||
`url:${tabURL}` : null
|
`url:${tabURL}` : null
|
||||||
});
|
});
|
||||||
window.close();
|
window.close();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user