Skip to content

Commit

Permalink
#1118 ensure back to top button is accessible when changed to circle
Browse files Browse the repository at this point in the history
  • Loading branch information
FayCross committed Jun 30, 2022
1 parent ad1f47c commit 4d89ef5
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1928,7 +1928,7 @@ function loadSection(thisSection, section, sectionIndex, page, pageHash, pageInd
if (topBtnRound == 'true') {
//add FA icon and make button round via .top-round class
//create round button
var $button = $('<a class="btn btn-mini pull-right top-round" href="#"><i class="fa fa-angle-up fa-2x" aria-hidden="true"></i></a>');
var $button = $('<a class="btn btn-mini pull-right top-round" href="#"><span class="sr-only">' + (languageData.find("top")[0] != undefined && languageData.find("top")[0].getAttribute('label') != null ? languageData.find("top")[0].getAttribute('label') : 'Top') + '</span><i class="fa fa-angle-up fa-2x" aria-hidden="true"></i></a>');
//attach the button
section.append(
$('<p>')
Expand Down

0 comments on commit 4d89ef5

Please sign in to comment.