Fix leaving full screen mode not removing max height restriction

This commit is contained in:
Kovid Goyal 2014-03-09 09:31:26 +05:30
parent 777a43308b
commit 5df9807308
2 changed files with 1 additions and 0 deletions

Binary file not shown.

View File

@ -40,6 +40,7 @@ class FullScreen
window.removeEventListener('click', this.handle_click, false)
if in_paged_mode
window.paged_display.max_col_width = -1
window.paged_display.max_col_height = -1
else
s = document.body.style
s.maxWidth = 'none'