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
b7b98a98
Commit
b7b98a98
authored
Apr 18, 2017
by
Karl Hasselbring
Browse files
Revert "Update editLanguage.js"
This reverts commit
0dc1d5e3
parent
0dc1d5e3
Changes
1
Show whitespace changes
Inline
Side-by-side
resources/assets/js/editLanguage.js
View file @
b7b98a98
$
(
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
Supports
Markdown
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