Move @license-end in the correct position

git-svn-id: file:///srv/svn/repo/mai/trunk@46 e410bdd4-646f-c54f-a7ce-fffcc4f439ae
This commit is contained in:
zaphircd 2023-09-30 18:51:30 +00:00
parent 30c2aa67b6
commit 2e0e64e8ba

View File

@ -5,6 +5,7 @@ document.getElementById("input").addEventListener("keydown", function (event) {
document.getElementById("translation-form").submit(); document.getElementById("translation-form").submit();
} }
}); });
// @license-end
// Auto resize textarea to fit words inside it without need to scroll -- Thanks to: https://stackoverflow.com/a/25621277 // Auto resize textarea to fit words inside it without need to scroll -- Thanks to: https://stackoverflow.com/a/25621277
var input = document.getElementById("input"); var input = document.getElementById("input");
@ -15,4 +16,3 @@ input.addEventListener("input", function (e) {
this.style.height = 150 + "px"; this.style.height = 150 + "px";
this.style.height = this.scrollHeight + "px"; this.style.height = this.scrollHeight + "px";
}); });
// @license-end