Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
wcms-openscholar
uw_virtual_site_homepage
Commits
693a5dcd
Commit
693a5dcd
authored
Aug 11, 2017
by
Eric Bremner
Browse files
RT#615890: Fixing extra space at the end of some names
parent
f7800a62
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
js/uw_virtual_site_homepage.js
js/uw_virtual_site_homepage.js
+9
-0
No files found.
js/uw_virtual_site_homepage.js
View file @
693a5dcd
...
...
@@ -4,6 +4,15 @@
attach
:
function
(
context
,
settings
)
{
// RT#615890: Fixing extra space at the end of some names.
$
(
document
).
ready
(
function
()
{
$
(
'
.biblio-entry span.biblio-authors
'
).
each
(
function
()
{
str
=
$
(
this
).
html
();
str
=
str
.
replace
(
/
\s
*$/
,
""
);
$
(
this
).
html
(
str
);
});
});
// Get all descriptions for the links in homepage banners.
$
(
'
#edit-field-uw-homepage-banners #field-uw-homepage-banners-values .field-name-field-uw-homepage-banners-link .description
'
).
each
(
function
(
index
)
{
...
...
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