mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix leaving full screen mode not removing max height restriction
This commit is contained in:
parent
777a43308b
commit
5df9807308
Binary file not shown.
@ -40,6 +40,7 @@ class FullScreen
|
|||||||
window.removeEventListener('click', this.handle_click, false)
|
window.removeEventListener('click', this.handle_click, false)
|
||||||
if in_paged_mode
|
if in_paged_mode
|
||||||
window.paged_display.max_col_width = -1
|
window.paged_display.max_col_width = -1
|
||||||
|
window.paged_display.max_col_height = -1
|
||||||
else
|
else
|
||||||
s = document.body.style
|
s = document.body.style
|
||||||
s.maxWidth = 'none'
|
s.maxWidth = 'none'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user