Browse files

Buttons: Link buttons still enhanced in data-enhance="false" container

  • Loading branch information...
1 parent b89319a commit aa13bc2b641d1d971e1069ba8ef2e70939e2d288 @MauriceG committed Jul 10, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 js/jquery.mobile.buttonMarkup.js
View
1 js/jquery.mobile.buttonMarkup.js
@@ -249,6 +249,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 )
+ .jqmEnhanceable()
.not( "button, input, .ui-btn, :jqmData(role='none'), :jqmData(role='nojs')" )
.buttonMarkup();
});

0 comments on commit aa13bc2

Please sign in to comment.