active

active

Hi,

there's a problem introduced either in Alpha 4 or Alpha 4.1 where the button does not revert to it's pre-clicked state.

Before:

  1. <a data-role="button" href="#" class="ui-btn ui-btn-up-c" data-theme="c" ><span class="ui-btn-inner"><span class="ui-btn-text">My button</span></span></a>
After:

  1. <a data-role="button" href="#" class="ui-btn ui-btn-active ui-btn-up-c" data-theme="c"><span class="ui-btn-inner"><span class="ui-btn-text">Save bring-up</span></span></a>

I'm currently working around it like this:
  1.         $('a').live('click', function () {
  2.             $(this).removeClass('ui-btn-active');
  3.         });

is this the best way?

cheers

Matt