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 19:18:14 +0100
commitc9aafe2d4ff8ae2057d124e3ca281679c7ff0885 (patch)
tree92ede892bd11f7a5eb987bda2c36bc53bc42449f
parent26fdf0c9d210d79c4e279fafd35eb25302911da3 (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();
},