Skip to content

Commit 38e819c

Browse files
author
Przemyslaw Ciezkowski
committed
buttonMarkup: Remove duplicated code
1 parent efc7381 commit 38e819c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

js/jquery.mobile.buttonMarkup.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,6 @@ $.fn.buttonMarkup = function( options ) {
124124
}
125125
}
126126

127-
if ( o.iconpos && o.iconpos === "notext" && !el.attr( "title" ) ) {
128-
el.attr( "title", el.getEncodedText() );
129-
}
130-
131127
if ( buttonElements ) {
132128
el.removeClass( buttonElements.bcls || "" );
133129
}

0 commit comments

Comments
 (0)