mirror of
https://github.com/zen-browser/desktop.git
synced 2026-03-30 20:31:53 +00:00
fix: Fixed drag-and-drop regression when updating Firefox 145.0, b=no-bug, c=folders
This commit is contained in:
@@ -1156,10 +1156,7 @@
|
||||
let dragDownThreshold =
|
||||
Services.prefs.getIntPref('zen.view.drag-and-drop.drop-inside-lower-threshold') / 100;
|
||||
|
||||
const dropElementGroup = dropElement.group;
|
||||
if (!dropElementGroup) {
|
||||
return { dropElement, colorCode, dropBefore };
|
||||
}
|
||||
const dropElementGroup = dropElement;
|
||||
const isSplitGroup = dropElement?.group?.hasAttribute('split-view-group');
|
||||
let firstGroupElem =
|
||||
dropElementGroup.querySelector('.zen-tab-group-start').nextElementSibling;
|
||||
|
||||
Reference in New Issue
Block a user