readerrolling: postReaderReadyCallback

reviewable/pr11563/r13
hius07 2 months ago committed by GitHub
parent b670143f4e
commit 8e3328a553
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -234,7 +234,7 @@ function ReaderRolling:onReadSettings(config)
-- And check if we can migrate to a newest DOM version after -- And check if we can migrate to a newest DOM version after
-- the book is loaded (unless the user told us not to). -- the book is loaded (unless the user told us not to).
if config:nilOrFalse("cre_keep_old_dom_version") then if config:nilOrFalse("cre_keep_old_dom_version") then
self.ui:registerPostReadyCallback(function() self.ui:registerPostReaderReadyCallback(function()
self:checkXPointersAndProposeDOMVersionUpgrade() self:checkXPointersAndProposeDOMVersionUpgrade()
end) end)
end end

Loading…
Cancel
Save