diff --git a/src/zen/workspaces/ZenWorkspaces.mjs b/src/zen/workspaces/ZenWorkspaces.mjs index 692ebe389..f0f5267f5 100644 --- a/src/zen/workspaces/ZenWorkspaces.mjs +++ b/src/zen/workspaces/ZenWorkspaces.mjs @@ -609,6 +609,7 @@ var gZenWorkspaces = new (class extends ZenMultiWindowFeature { element.addEventListener( 'MozSwipeGestureEnd', (event) => { + this.activeScrollbox.removeAttribute('swipe-gesture'); gZenUIManager.tabsWrapper.style.removeProperty('scrollbar-width'); this.updateTabsContainers(); }, @@ -682,8 +683,6 @@ var gZenWorkspaces = new (class extends ZenMultiWindowFeature { const direction = this.naturalScroll ? -1 : 1; await this.changeWorkspaceShortcut(rawDirection * direction, true); - this.activeScrollbox.removeAttribute('swipe-gesture'); - // Reset swipe state this._swipeState = { isGestureActive: false,