[fix] Use standard innerHTML to translate page content.

This commit is contained in:
opi 2015-08-31 11:03:56 +02:00
parent dac8bc78bf
commit efab6eec90
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View file

@ -29,7 +29,7 @@
[].forEach.call(
document.querySelectorAll('[data-y18n]'),
function(el){
el.innerText = y18n.translate(el.getAttribute('data-y18n'));
el.innerHTML = y18n.translate(el.getAttribute('data-y18n'));
}
);