Permalink
Browse files

Button: Fix initSelector to only do input[type=button] to exclude but…

…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 b2d9570a665219fe5ca81843b6cc500cfe331c5d
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/widgets/forms/button.js
@@ -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" );

0 comments on commit b2d9570

Please sign in to comment.