mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
83a6ab947f
commit
2e4b88059c
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user