Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

… because it inherits the border-radius.
  • Loading branch information...
commit 3cdc244508dc1d0defc2d0b759668aeac344d5a2 1 parent fcc5c34
@jaspermdegroot jaspermdegroot authored
Showing with 0 additions and 3 deletions.
  1. +0 −3  js/jquery.mobile.buttonMarkup.js
View
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 );
Please sign in to comment.
Something went wrong with that request. Please try again.