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:
poire-z authored and Qingping Hou committed 2016-12-04 12:03:11 -08:00
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()