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 26fdf0c9d2
commit c9aafe2d4f

View 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();
},