jquery/demos.jquerymobile.com — pull request #11 by Palestinian (2014-07-04 23:56:57+00:00)
Title: Add .ui-btn-active class only to anchor with href

When you navigate several times between sub-pages, all buttons will receive _.ui-btn-active_. This fix removes that class from all buttons and then adds it to button with _href_ matching active page's _hash_.