Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
214b06fc
Commit
214b06fc
authored
Nov 07, 2019
by
bbaer
Browse files
new class qfq-auto-grow for textareas and the like
parent
e1b1589b
Pipeline
#2646
passed with stages
in 2 minutes and 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
javascript/src/Main.js
View file @
214b06fc
...
...
@@ -12,5 +12,12 @@ $(document).ready( function () {
tablesorterController
.
setup
(
$
(
this
),
i
);
});
// end .each()
$
(
'
.qfq-auto-grow
'
).
on
(
'
input
'
,
function
()
{
if
(
$
(
this
).
height
()
+
10
<
$
(
this
).
prop
(
'
scrollHeight
'
))
{
$
(
this
).
height
(
$
(
this
).
prop
(
'
scrollHeight
'
));
}
});
})(
QfqNS
);
});
\ 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