mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-06 09:04:27 +01:00
...
This commit is contained in:
parent
78a80efdf1
commit
d72445d70f
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ get_current_time = (target) -> # {{{
|
|||
|
||||
viewport_to_document = (x, y, doc) -> # {{{
|
||||
win = doc.defaultView
|
||||
x += if win.scrollX then win.scrollX else 0
|
||||
x += if win.scrollX then win.scrollX else 0 # These can be NaN on IE
|
||||
y += if win.scrollY then win.scrollY else 0
|
||||
|
||||
if doc != window.document
|
||||
|
|
|
|||
Loading…
Reference in a new issue