aboutsummaryrefslogtreecommitdiff
path: root/src/app/lang.js
blob: 8cf3d4b9b374a354061fd2a99d83174f46aeb319 (plain)
1
2
3
4
5
6
7
8
9
10
html = document.body.innerHTML.split("%%");

for (let i = 0; i < html.length; i++) {
	if (html[i][0] != " " && 
		html[i][html[i].length - 1] != " ") {
		html[i] = lang(html[i])
	}
}

document.body.innerHTML = html.join("");