Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit 3cdc244

Browse files
buttonMarkup: no need to add class ui-btn-corner-all to inner element because it inherits the border-radius.
1 parent fcc5c34 commit 3cdc244

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

js/jquery.mobile.buttonMarkup.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,6 @@ $.fn.buttonMarkup = function( options ) {
115115
}
116116
}
117117

118-
innerClass += o.corners ? " ui-btn-corner-all" : "";
119-
120118
if ( o.iconpos && o.iconpos === "notext" && !el.attr( "title" ) ) {
121119
el.attr( "title", el.getEncodedText() );
122120
}
@@ -127,7 +125,6 @@ $.fn.buttonMarkup = function( options ) {
127125
el.removeClass( "ui-link" ).addClass( buttonClass );
128126

129127
buttonInner.className = innerClass;
130-
131128
buttonText.className = textClass;
132129
if ( !buttonElements ) {
133130
buttonInner.appendChild( buttonText );

0 commit comments

Comments
 (0)