mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[fix] Use standard innerHTML to translate page content.
This commit is contained in:
parent
dac8bc78bf
commit
efab6eec90
2 changed files with 3 additions and 3 deletions
4
src/dist/js/script.min.js
vendored
4
src/dist/js/script.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -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'));
|
||||
}
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue