Permalink
Browse files

buttonMarkup: no need to add class ui-btn-corner-all to inner element…

… because it inherits the border-radius.
  • Loading branch information...
1 parent fcc5c34 commit 3cdc244508dc1d0defc2d0b759668aeac344d5a2 @jaspermdegroot jaspermdegroot committed Nov 9, 2012
Showing with 0 additions and 3 deletions.
  1. +0 −3 js/jquery.mobile.buttonMarkup.js
@@ -115,8 +115,6 @@ $.fn.buttonMarkup = function( options ) {
}
}
- innerClass += o.corners ? " ui-btn-corner-all" : "";
-
if ( o.iconpos && o.iconpos === "notext" && !el.attr( "title" ) ) {
el.attr( "title", el.getEncodedText() );
}
@@ -127,7 +125,6 @@ $.fn.buttonMarkup = function( options ) {
el.removeClass( "ui-link" ).addClass( buttonClass );
buttonInner.className = innerClass;
-
buttonText.className = textClass;
if ( !buttonElements ) {
buttonInner.appendChild( buttonText );

0 comments on commit 3cdc244

Please sign in to comment.