[fix] readerhighlight: "View HTML" was always disabled (#8573)

This commit is contained in:
hius07
2021-12-21 14:57:19 +02:00
committed by GitHub
parent f83eee02dd
commit d0dd1ee888

View File

@@ -161,7 +161,7 @@ function ReaderHighlight:init()
end
-- cre documents only
if self.ui.rolling then
if not self.document.info.has_pages then
self:addToHighlightDialog("09_view_html", function(_self)
return {
text = _("View HTML"),