Commit 693a5dcd authored by Eric Bremner's avatar Eric Bremner
Browse files

RT#615890: Fixing extra space at the end of some names

parent f7800a62
...@@ -4,6 +4,15 @@ ...@@ -4,6 +4,15 @@
attach: function (context, settings) { 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. // 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) { $('#edit-field-uw-homepage-banners #field-uw-homepage-banners-values .field-name-field-uw-homepage-banners-link .description').each(function(index) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment