Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Button: Fix initselector to only target inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
arschmitz committed Jul 30, 2013
1 parent 147ee42 commit e6eaab6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/widgets/forms/button.js
Expand Up @@ -115,7 +115,7 @@ $.widget( "mobile.button", {
}
});

$.mobile.button.initSelector = "input[type='button'], [type='submit'], [type='reset']";
$.mobile.button.initSelector = "input[type='button'], input[type='submit'], input[type='reset']";

//auto self-init widgets
$.mobile._enhancer.add( "mobile.button" );
Expand Down

0 comments on commit e6eaab6

Please sign in to comment.