mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Fix: unexpendable TOC in some cases (#2394)
When on a page in a 2nd level section, after switching orientation, TOC was stuck with the section we're in unexpandable.
This commit is contained in:
@@ -60,6 +60,7 @@ function ReaderToc:resetToc()
|
||||
self.toc = nil
|
||||
self.ticks = {}
|
||||
self.collapsed_toc = {}
|
||||
self.expanded_nodes = {}
|
||||
end
|
||||
|
||||
function ReaderToc:onUpdateToc()
|
||||
|
||||
Reference in New Issue
Block a user