Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mltony committed Dec 21, 2024
1 parent 2c7dedf commit d93d3b1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion addon/globalPlugins/browserNav/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,6 @@ def preCaretMovementScriptHelper(self, gesture,unit, direction=None,posConstant=
if (
(
quickJump.isSkipClutterEnabledForThisUnit(unit)
or quickJump.needOverride_caretMovement(self)
)
and direction is not None
and posConstant==textInfos.POSITION_SELECTION
Expand Down
6 changes: 0 additions & 6 deletions addon/globalPlugins/browserNav/quickJump.py
Original file line number Diff line number Diff line change
Expand Up @@ -1696,12 +1696,6 @@ def _quickJump(self, gesture, bookmarks, direction, errorMsg):
sonifyTextInfo(self.selection, oldTextInfo=oldSelection, includeCrackle=True)
return

def needOverride_caretMovement(self):
url = getUrl(self)
suppressAriaLabelEditable = getSuppressAriaLabelEditable(url, globalConfig)
suppressTreeLevel = getSuppressTreeLevel(url, globalConfig)
return suppressAriaLabelEditable or suppressTreeLevel

def isSkipClutterEnabledForThisUnit(unit):
return (
(
Expand Down

0 comments on commit d93d3b1

Please sign in to comment.