Skip to content

Commit 7faa9ef

Browse files
Merge pull request jquery-archive#5626 from stforek/duplicated_buttonmarkup
Duplicated code in butonMarkup
2 parents c3b58b3 + 38e819c commit 7faa9ef

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
@@ -128,10 +128,6 @@ $.fn.buttonMarkup = function( options ) {
128128
}
129129
}
130130

131-
if ( o.iconpos && o.iconpos === "notext" && !el.attr( "title" ) ) {
132-
el.attr( "title", el.getEncodedText() );
133-
}
134-
135131
if ( buttonElements ) {
136132
el.removeClass( buttonElements.bcls || "" );
137133
}

0 commit comments

Comments
 (0)