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:
1 parent
08a92de179
commit
bbba2799a5
1 file changed
+1
@@ -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