From: Sarven Capadisli Date: Fri, 22 Jan 2010 18:18:14 +0000 (+0100) Subject: Fixed innerHTML problem in IE7 and 8 for badge script X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c9aafe2d4ff8ae2057d124e3ca281679c7ff0885;p=quix0rs-gnu-social.git Fixed innerHTML problem in IE7 and 8 for badge script --- diff --git a/js/identica-badge.js b/js/identica-badge.js index 8276f22a1d..e43d1c43c7 100644 --- a/js/identica-badge.js +++ b/js/identica-badge.js @@ -223,7 +223,7 @@ function markupPost(raw, server) { }, changeUserTo : function(el) { $.a.user = el.rel; - $.s.h.a.innerHTML = el.rev + $.a.headerText; + $.s.h.a.appendChild(document.createTextNode(el.rev + $.a.headerText)); $.s.h.a.href = 'http://' + $.a.server + '/' + el.id; $.f.runSearch(); },