Fixed innerHTML problem in IE7 and 8 for badge script

This commit is contained in:
Sarven Capadisli 2010-01-22 19:18:14 +01:00
parent 29d83c8ca9
commit 8bf2a9046b

View File

@ -223,7 +223,7 @@ function markupPost(raw, server) {
}, },
changeUserTo : function(el) { changeUserTo : function(el) {
$.a.user = el.rel; $.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; $.s.h.a.href = 'http://' + $.a.server + '/' + el.id;
$.f.runSearch(); $.f.runSearch();
}, },