Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
6f737129
Commit
6f737129
authored
Apr 18, 2017
by
Karl Hasselbring
Browse files
Revert "Update editLanguage.js"
This reverts commit
0dc1d5e3
parent
2dba5263
Changes
1
Hide whitespace changes
Inline
Side-by-side
resources/assets/js/editLanguage.js
View file @
6f737129
$
(
document
).
ready
(
function
()
{
$
(
"
.hint
"
).
tooltip
();
$
(
"
.language-text-area
"
).
each
(
function
()
{
auto_grow
(
this
);
});
$
(
"
.language-text-area
"
).
keyup
(
function
()
{
auto_grow
(
this
);
});
});
function
auto_grow
(
element
)
{
element
.
style
.
height
=
"
5px
"
;
element
.
style
.
height
=
(
element
.
scrollHeight
+
10
)
+
"
px
"
;
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment