Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit 1c1380c

Browse files
author
Brad Miller
committed
dont show progress bar on tocs or exercises
1 parent ad8b192 commit 1c1380c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

runestone/common/js/bookfuncs.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,10 @@ class PageProgressBar {
119119
this.activities = activities;
120120
}
121121
this.calculateProgress();
122+
if (window.location.pathname.match(/.*(index.html|toctree.html|Exercises.html|Glossary.html)$/i)) {
123+
$("#scprogresscontainer").hide()
124+
}
122125
this.renderProgress()
123-
124126
}
125127

126128
calculateProgress() {

0 commit comments

Comments
 (0)