jtmelton/appsensor — pull request #14 by ckarande (2014-10-12 21:31:56+00:00)
Title: Fix accordion section scroll issue and js errors on page

Fixes js errors on page load. Essentially removed accordion related javascript logic in appsensor.js, which was causing errors.

The pull request also addresses an issue with accordions: on expanding a section by clicking on its header, focus moves to a random location within the section instead of staying at top, which is bit annoying for readers.

This is a buggy behavior in bootstrap accordion plugin itself. To address it, I had to ungroup accordion sections. Meaning, each section collapses and opens irrespective of other section. The side effect is accordion sections won't get automatically closed after another section is open, but focus would stay right below the header. Please merge this pull request only if that behavior is acceptable.