Skip to content

Commit

Permalink
Fix typo in previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnSmith-LT committed May 25, 2017
1 parent 199b790 commit a89b3f0
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1723,7 +1723,7 @@ function x_pageLoaded() {
//detect page loaded change and update progress bar

function doPercentage() {
var menuOffset = x_pageInfo[0].type == 'menu' ? 1 : 0
var menuOffset = x_pageInfo[0].type == 'menu' ? 1 : 0;
var totalpages = x_pageInfo.length - menuOffset;
var pagesviewed = $(x_pageInfo).filter(function(){return this.built !== false;}).length - menuOffset;
var progress = Math.round((pagesviewed * 100) / totalpages);
Expand Down

0 comments on commit a89b3f0

Please sign in to comment.