mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-30 08:24:56 +01:00
E-book viewer: Improve performance when switching between normal and fullscreen views
This commit is contained in:
parent
9dd54e99cc
commit
ba92becea5
1 changed files with 1 additions and 1 deletions
|
|
@ -389,7 +389,7 @@ class CanonicalFragmentIdentifier
|
|||
# Drill down into iframes, etc.
|
||||
while true
|
||||
target = cdoc.elementFromPoint x, y
|
||||
if not target or target.localName == 'html'
|
||||
if not target or target.localName in ['html', 'body']
|
||||
# log("No element at (#{ x }, #{ y })")
|
||||
return null
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue