schnitz81/rt-magnet — pull request #4 by atquick (2012-07-02 22:01:13+00:00)
Title: Cleaner usage of Javascript (small)

Also see Cleaner usage of Javascript (large).

This removes the assumption that everyone has javascript running, or is willing to use it to mange this website.

The button that toggles the directory listing, is now added through javascript itself, and the initial hiding of the list is done through javascript as well. This makes sure that the list is accessible for those that don't have javascript running, and adds the ability to hide the list for those as an extra feature for those that do.