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

Commit dcb2f22

Browse files
Addresses issue #4540; an alternate approach to af46c6c
1 parent b1d57fb commit dcb2f22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/jquery.mobile.buttonMarkup.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ $.fn.buttonMarkup = function( options ) {
122122
}
123123
if ( buttonIcon ) {
124124
buttonIcon.className = iconClass;
125-
if ( !(buttonElements && buttonElements.icon) ) {
126-
buttonIcon.appendChild( document.createTextNode("\u00a0") );
125+
if ( !( buttonElements && buttonElements.icon ) ) {
126+
buttonIcon.innerHTML = " ";
127127
buttonInner.appendChild( buttonIcon );
128128
}
129129
}

0 commit comments

Comments
 (0)