]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fixed innerHTML problem in IE7 and 8 for badge script
authorSarven Capadisli <csarven@status.net>
Fri, 22 Jan 2010 18:18:14 +0000 (19:18 +0100)
committerSarven Capadisli <csarven@status.net>
Tue, 26 Jan 2010 00:15:39 +0000 (01:15 +0100)
js/identica-badge.js

index 8276f22a1deaae90128bcbac155671affe1d0a6e..e43d1c43c758f48996d5e18e75392d0cdbd94fe2 100644 (file)
@@ -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(); 
          },