Hilariously simpler fix for #6616 (#6650)

* Hilariously simpler fix for #6616

Reverts #6648 for a much, much simpler solution, that will actually
cover every possible situation automagically.
This commit is contained in:
NiLuJe
2020-09-13 19:00:03 +02:00
committed by GitHub
parent e0546d0fc8
commit 592e4f42df
5 changed files with 15 additions and 58 deletions

View File

@@ -1263,7 +1263,6 @@ function ReaderLink:showAsFootnotePopup(link, neglect_current_location)
local FootnoteWidget = require("ui/widget/footnotewidget")
local popup
popup = FootnoteWidget:new{
covers_footer = true, -- hint for UIManager:repaintReaderFooter
html = html,
doc_font_size = Screen:scaleBySize(self.ui.font.font_size),
doc_margins = self.ui.document:getPageMargins(),