From d72445d70fceae0241c01796e736adfc287964e4 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 5 Jan 2012 22:53:24 +0530 Subject: [PATCH] ... --- src/calibre/ebooks/oeb/display/cfi.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/ebooks/oeb/display/cfi.coffee b/src/calibre/ebooks/oeb/display/cfi.coffee index a03dd49c0a..edcc0ad0df 100644 --- a/src/calibre/ebooks/oeb/display/cfi.coffee +++ b/src/calibre/ebooks/oeb/display/cfi.coffee @@ -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