diff options
author | Andrew Dolgov <[email protected]> | 2018-06-29 17:41:28 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-06-29 17:41:28 +0300 |
commit | f46c3f561f6d079a4ac8fb8ba0134508479a9eff (patch) | |
tree | 093d74241b942a6a5bc317e71dc52c3be5e756f4 /read.html | |
parent | 74de43f86f614b5771ffb3dd16d43b0fcbf95a36 (diff) |
minor fixes for fullscreen mode, UI tweak for TOC icon
Diffstat (limited to 'read.html')
-rw-r--r-- | read.html | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -723,7 +723,7 @@ }); rendition.on('rendered', function(chapter) { - $(".chapter").html(""); + $(".chapter").html($("<span>").addClass("glyphicon glyphicon-th-list")); try { var location = book.rendition.currentLocation(); @@ -761,7 +761,8 @@ }); - if (toc_entry) $(".chapter").html(toc_entry.label); + if (toc_entry && toc_entry.label.trim()) + $(".chapter").html(toc_entry.label); } } catch (e) { |