Skip to content

Commit

Permalink
Fix #1236 trim XOT URL when embedded in Bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
FayCross committed Jul 28, 2023
1 parent f80bbef commit 41ef5e6
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -2833,7 +2833,7 @@ function makeCarousel(node, section, sectionIndex, itemIndex){

function loadXotContent($this) {
// get link & store url parameters to add back in later if not overridden
var xotLink = $this.attr('link'),
var xotLink = $this.attr('link').trim(),
params = [],
separator = xotLink.indexOf('.php?template_id') == -1 ? '?' : '&';

Expand Down

0 comments on commit 41ef5e6

Please sign in to comment.