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.
pull/2400/head
poire-z 8 years ago committed by Qingping Hou
parent 08a92de179
commit bbba2799a5

@ -60,6 +60,7 @@ function ReaderToc:resetToc()
self.toc = nil
self.ticks = {}
self.collapsed_toc = {}
self.expanded_nodes = {}
end
function ReaderToc:onUpdateToc()

Loading…
Cancel
Save