Permalink
Browse files

Excluded input element from buttonMarkup auto initialization

  • Loading branch information...
1 parent a618f80 commit bd02a4276649895f13deb3a62173bf13e7cf9e47 @jaspermdegroot jaspermdegroot committed May 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/jquery.mobile.buttonMarkup.js
@@ -240,7 +240,7 @@ var attachEvents = function() {
$( document ).bind( "pagecreate create", function( e ){
$( ":jqmData(role='button'), .ui-bar > a, .ui-header > a, .ui-footer > a, .ui-bar > :jqmData(role='controlgroup') > a", e.target )
- .not( "button, .ui-btn, :jqmData(role='none'), :jqmData(role='nojs')" )
+ .not( "button, input, .ui-btn, :jqmData(role='none'), :jqmData(role='nojs')" )
.buttonMarkup();
});

0 comments on commit bd02a42

Please sign in to comment.