From d0dd1ee888c138f91dc3b6297977fd7c027d1797 Mon Sep 17 00:00:00 2001 From: hius07 <62179190+hius07@users.noreply.github.com> Date: Tue, 21 Dec 2021 14:57:19 +0200 Subject: [PATCH] [fix] readerhighlight: "View HTML" was always disabled (#8573) --- frontend/apps/reader/modules/readerhighlight.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/apps/reader/modules/readerhighlight.lua b/frontend/apps/reader/modules/readerhighlight.lua index 4aad8ae9a..f346f4156 100644 --- a/frontend/apps/reader/modules/readerhighlight.lua +++ b/frontend/apps/reader/modules/readerhighlight.lua @@ -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"),