diff --git a/resources/compiled_coffeescript.zip b/resources/compiled_coffeescript.zip index 8547c11ebe..615531f233 100644 Binary files a/resources/compiled_coffeescript.zip and b/resources/compiled_coffeescript.zip differ diff --git a/src/calibre/ebooks/oeb/display/cfi.coffee b/src/calibre/ebooks/oeb/display/cfi.coffee index a3a08cb67d..8c22d2f641 100644 --- a/src/calibre/ebooks/oeb/display/cfi.coffee +++ b/src/calibre/ebooks/oeb/display/cfi.coffee @@ -279,6 +279,7 @@ class CanonicalFragmentIdentifier node = child if not child error = "No matching child found for CFI: " + cfi + cfi = cfi.substr(r[0].length) break index |= 1 # Increment index by 1 if it is even if child.nodeType == 1