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:
parent
30c2aa67b6
commit
2e0e64e8ba
@ -5,6 +5,7 @@ document.getElementById("input").addEventListener("keydown", function (event) {
|
||||
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
|
||||
var input = document.getElementById("input");
|
||||
@ -15,4 +16,3 @@ input.addEventListener("input", function (e) {
|
||||
this.style.height = 150 + "px";
|
||||
this.style.height = this.scrollHeight + "px";
|
||||
});
|
||||
// @license-end
|
Loading…
x
Reference in New Issue
Block a user