Skip to content

Commit

Permalink
Update fullpage.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ranjit-git committed Apr 12, 2022
1 parent 84e1a42 commit 3fd81be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/fullpage.js
Original file line number Diff line number Diff line change
Expand Up @@ -1829,7 +1829,7 @@

for (var i = 0; i < numSlides; i++) {
var slide = $(SLIDE_SEL, sectionElem)[i];
appendTo(createElementFromHTML('<li><a href="#"><span class="fp-sr-only">' + getBulletLinkName(i, 'Slide', slide) + '</span><span></span></a></li>'), $('ul', nav)[0]);
appendTo(createElementFromHTML('<li><a href="#"><span class="fp-sr-only">' + encodeURI(getBulletLinkName(i, 'Slide', slide)) + '</span><span></span></a></li>'), $('ul', nav)[0]);
} //centering it


Expand Down Expand Up @@ -2354,7 +2354,7 @@
link = section.anchor;
}

li += '<li><a href="#' + link + '"><span class="fp-sr-only">' + getBulletLinkName(section.index(), 'Section') + '</span><span></span></a>'; // Only add tooltip if needed (defined by user)
li += '<li><a href="#' + encodeURI(link) + '"><span class="fp-sr-only">' + encodeURI(getBulletLinkName(section.index(), 'Section')) + '</span><span></span></a>'; // Only add tooltip if needed (defined by user)

var tooltip = getOptions().navigationTooltips[section.index()];

Expand Down

0 comments on commit 3fd81be

Please sign in to comment.