mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
E-book viewer: Improve performance when switching between normal and fullscreen views
This commit is contained in:
parent
9dd54e99cc
commit
ba92becea5
@ -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…
x
Reference in New Issue
Block a user