github/developer.github.com — pull request #192 by dubrie (2013-01-03 19:10:16+00:00)
Title: A NAME in URL was causing sidebar menus to collapse on refresh

Using an A NAME tag to reference a link on the same page was causing
the sidebar menu options to collapse on refresh. This change takes the
provided docUrl variable in the documentation.js javascript and strips
all characters after the "#" sign.