Permalink
Browse files

Restored button inline styling by defining inline as an option in the…

… button markup plugin. Fixes #2496

The recent jqmData changes exposed this issue. Default for this option
is false.
  • Loading branch information...
1 parent ee6754d commit eaf5822c6505c7bc7085a422d1ae6503616a173a @toddparker toddparker committed Sep 23, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 js/jquery.mobile.buttonMarkup.js
@@ -12,7 +12,8 @@ $.fn.buttonMarkup = function( options ) {
o = $.extend( {}, $.fn.buttonMarkup.defaults, {
icon: el.jqmData( "icon" ),
iconpos: el.jqmData( "iconpos" ),
- theme: el.jqmData( "theme" )
+ theme: el.jqmData( "theme" ),
+ inline: el.jqmData( "inline" )
}, options ),
// Classes Defined
@@ -81,6 +82,7 @@ $.fn.buttonMarkup.defaults = {
corners: true,
shadow: true,
iconshadow: true,
+ inline: false,
wrapperEls: "span"
};

0 comments on commit eaf5822

Please sign in to comment.