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 do input[type=button] to exclude but…
Browse files Browse the repository at this point in the history
…ton elements with type=button Fixes #6237 - JQM 1.4 alpha button on form has a large border
  • Loading branch information
arschmitz committed Jul 29, 2013
1 parent 4edab45 commit b2d9570
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 = "[type='button'], [type='submit'], [type='reset']";
$.mobile.button.initSelector = "input[type='button'], [type='submit'], [type='reset']";

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

0 comments on commit b2d9570

Please sign in to comment.