diff --git a/imgsrc/srv/toc.svg b/imgsrc/srv/toc.svg new file mode 100644 index 0000000000..cb560ea14a --- /dev/null +++ b/imgsrc/srv/toc.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/pyj/read_book/overlay.pyj b/src/pyj/read_book/overlay.pyj index 012b0dfe34..e62e955240 100644 --- a/src/pyj/read_book/overlay.pyj +++ b/src/pyj/read_book/overlay.pyj @@ -255,7 +255,7 @@ class MainOverlay: # {{{ nav_actions = E.ul(home_action, back_action, forward_action) bookmarks_action = ac(_('Bookmarks'), None, self.overlay.show_bookmarks, 'bookmark') - toc_actions = E.ul(ac(_('Table of Contents'), None, self.overlay.show_toc, 'TC', True)) + toc_actions = E.ul(ac(_('Table of Contents'), None, self.overlay.show_toc, 'toc')) if runtime.is_standalone_viewer: toc_actions.appendChild(bookmarks_action)