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
typo3
qfq
Commits
01647bbc
Commit
01647bbc
authored
Dec 20, 2019
by
Carsten Rose
Browse files
qmore: change '...' to '[...]'
parent
921d3c5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
javascript/src/Utils.js
View file @
01647bbc
...
@@ -22,8 +22,8 @@ var QfqNS = QfqNS || {};
...
@@ -22,8 +22,8 @@ var QfqNS = QfqNS || {};
// Hide long text and append "more.." button
// Hide long text and append "more.." button
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
var
more
=
'
...
'
;
var
more
=
'
[
...
]
'
;
var
less
=
'
<<
'
;
var
less
=
'
[
<<
]
'
;
var
moreButtonHtml
=
'
<button class="btn btn-link" type="button" style="outline-width: 0px;">
'
+
more
+
'
</button>
'
;
var
moreButtonHtml
=
'
<button class="btn btn-link" type="button" style="outline-width: 0px;">
'
+
more
+
'
</button>
'
;
var
moreButton
=
$
(
moreButtonHtml
).
insertAfter
(
'
span.qfq-more-text
'
);
var
moreButton
=
$
(
moreButtonHtml
).
insertAfter
(
'
span.qfq-more-text
'
);
moreButton
.
click
(
function
()
{
moreButton
.
click
(
function
()
{
...
...
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