Commit 907cd505 by Brian Wilson

fix viewing of pdfbook on firefox

parent f8280490
...@@ -90,9 +90,8 @@ ...@@ -90,9 +90,8 @@
</div> </div>
</div> </div>
%if 'chapters' in textbook: %if 'chapters' in textbook:
<section aria-label="Textbook Navigation" class="book-sidebar"> <section aria-label="Textbook Navigation" class="book-sidebar">
<ul id="booknav" class="treeview-booknav"> <ul id="booknav" class="treeview-booknav">
<%def name="print_entry(entry, index_value)"> <%def name="print_entry(entry, index_value)">
<li id="pdfchapter-${index_value}"> <li id="pdfchapter-${index_value}">
...@@ -107,9 +106,10 @@ ...@@ -107,9 +106,10 @@
% endfor % endfor
</ul> </ul>
</section> </section>
%endif %endif
<section id="viewerContainer" class="book"> <section id="viewerContainer" class="book">
<section class="page">
<!-- use same page-turning as used in image-based textbooks --> <!-- use same page-turning as used in image-based textbooks -->
<nav> <nav>
<ul> <ul>
...@@ -121,10 +121,9 @@ ...@@ -121,10 +121,9 @@
</li> </li>
</ul> </ul>
</nav> </nav>
<div id="viewer" contextmenu="viewerContextMenu"></div> <div id="viewer" contextmenu="viewerContextMenu"></div>
</div> </section>
</section>
</div> <!-- mainContainer --> </div> <!-- mainContainer -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment