Permalink
Browse files

Button: Fix initselector to only target inputs

  • Loading branch information...
arschmitz committed Jul 30, 2013
1 parent 147ee42 commit e6eaab6c51ccc01a0a1e90d85557b9cb1fc3f2ed
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 = "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" );

0 comments on commit e6eaab6

Please sign in to comment.