summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-01-22 19:18:14 +0100
committerSarven Capadisli <csarven@status.net>2010-01-22 21:08:51 +0100
commit8bf2a9046bd364f684374b0388c8ea1a71b5ae0b (patch)
tree55d47b7e55e64a96a31b9711d454b048c15a3607
parent29d83c8ca94201cb010b5aef564df78ab868ea0c (diff)
Fixed innerHTML problem in IE7 and 8 for badge script
-rw-r--r--js/identica-badge.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/identica-badge.js b/js/identica-badge.js
index 8276f22a1..e43d1c43c 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();
},