Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Commit

Permalink
Revert "Implemented header collapsing." (#191)
Browse files Browse the repository at this point in the history
This reverts commit f81dc85, due to a
buggy implementation of header collapsing. Major issues:

* Hides footnotes if the last section is being hidden (and shows the
  quiz buttons on non-quiz pages)
* h4/h4/h5/h6 headings are ignored
* Clicking the edit/¶ links triggers the toggle

Will be reimplemented once I figure out a clean way of determining sections
dynamically, most likely with a link next to "edit".
  • Loading branch information
dellsystem committed Mar 22, 2014
1 parent 7c7ebcc commit e661be3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
18 changes: 0 additions & 18 deletions assets/js/headercollapse.js

This file was deleted.

1 change: 0 additions & 1 deletion templates/pages/show.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,4 @@ <h1>{{ page.get_title }} <a href="http://creativecommons.org/licenses/by-nc/3.0/
</section>
</div>
<script src="{{ STATIC_URL }}js/sectionedit.js"></script>
<script src="{{ STATIC_URL }}js/headercollapse.js"></script>
{% endblock %}

0 comments on commit e661be3

Please sign in to comment.