alphagov/hmrc-manuals-frontend — pull request #27 by alicebartlett (2014-05-14 14:57:59+00:00)
Title: JS to auto open linked-to sections

- On pageload open the anchored section, if there is one/we can find it.
- Catch any link clicks within a govspeak block and check if they are going to somewhere else on this page. If they are, open that section. If they aren't then allow the event to propagate.