This commit is contained in:
Kovid Goyal 2024-02-29 13:29:50 +05:30
parent 83a6ab947f
commit 2e4b88059c
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -214,7 +214,8 @@ def move_end_of_selection(pos, start):
if not sel.rangeCount:
return
p = caret_position_from_point(pos.x, pos.y)
if p:
if not p:
return
r = sel.getRangeAt(0)
if start is None:
q = document.createRange()