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
MJU-POPS
ckanext-dgu
Commits
c1d5c112
Commit
c1d5c112
authored
Mar 27, 2015
by
David Read
Browse files
[1821] Keep the "Read more" on the same line as the licence.
parent
e119cd1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
ckanext/dgu/theme/src/scripts/dgu-package.js
View file @
c1d5c112
...
...
@@ -23,6 +23,8 @@ $(function() {
});
var
license_info
=
$
(
'
#license-info
'
);
var
more
=
license_info
.
find
(
'
a.license-read-more
'
);
more
.
show
()
license_info
.
dotdotdot
({
height
:
50
,
tolerance
:
10
,
...
...
@@ -34,7 +36,6 @@ $(function() {
}
else
{
var
more
=
license_info
.
find
(
'
a.license-read-more
'
);
more
.
show
()
more
.
click
(
function
(
e
)
{
e
.
preventDefault
();
$
(
'
#license-info
'
).
trigger
(
'
destroy.dot
'
);
...
...
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