mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 22:14:07 +02:00
...
This commit is contained in:
parent
bb9112fbf0
commit
48197bd972
1 changed files with 3 additions and 0 deletions
|
|
@ -34,6 +34,9 @@ mark_and_reload = (evt) ->
|
|||
# be on the underlying element
|
||||
if evt.button == 2
|
||||
return # Right mouse click, generated only in firefox
|
||||
reset = document.getElementById('reset')
|
||||
if document.elementFromPoint(evt.clientX, evt.clientY) == reset
|
||||
return
|
||||
ms = document.getElementById("marker")
|
||||
if ms
|
||||
ms.parentNode?.removeChild(ms)
|
||||
|
|
|
|||
Loading…
Reference in a new issue