Refactor tab drop handling and add workspace dropdown toggle functionality in bookmark editing

This commit is contained in:
mr. M
2025-03-10 21:31:13 +01:00
parent d51391bb9b
commit 3df1973ac9
2 changed files with 16 additions and 6 deletions

View File

@@ -1657,7 +1657,7 @@ class ZenViewSplitter extends ZenDOMOperatedFeature {
}
handleTabDrop(event, urls, replace, inBackground) {
if (!inBackground || replace || urls.length !== 1) {
if (replace || urls.length !== 1) {
return false;
}
const url = urls[0];