Permalink
Browse files

Addresses issue #4540; an alternate approach to af46c6c

  • Loading branch information...
jaspermdegroot committed Jul 18, 2012
1 parent b1d57fb commit dcb2f2261c454b24eb1632cbabfdbf398de02de7
Showing with 2 additions and 2 deletions.
  1. +2 −2 js/jquery.mobile.buttonMarkup.js
@@ -122,8 +122,8 @@ $.fn.buttonMarkup = function( options ) {
}
if ( buttonIcon ) {
buttonIcon.className = iconClass;
- if ( !(buttonElements && buttonElements.icon) ) {
- buttonIcon.appendChild( document.createTextNode("\u00a0") );
+ if ( !( buttonElements && buttonElements.icon ) ) {
+ buttonIcon.innerHTML = " ";
buttonInner.appendChild( buttonIcon );
}
}

0 comments on commit dcb2f22

Please sign in to comment.