@pimaonline/pimaonline-themepack 2.2.0 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/js/scripts2.js +5 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ The PimaOnline Themepack is a web development toolkit for building online course
|
|
|
4
4
|
|
|
5
5
|
## Version
|
|
6
6
|
|
|
7
|
-
2.2.
|
|
7
|
+
2.2.1
|
|
8
8
|
|
|
9
9
|
## What's included
|
|
10
10
|
|
|
@@ -20,7 +20,7 @@ The PimaOnline Themepack is a web development toolkit for building online course
|
|
|
20
20
|
|
|
21
21
|
### Npm Commands
|
|
22
22
|
|
|
23
|
-
`npm run dev` Run this command to enter development mode.
|
|
23
|
+
`npm run dev` Run this command to enter development mode.
|
|
24
24
|
|
|
25
25
|
Development mode includes a server running at `http://localhost:8080`. All files are watched so that when you make a change the compiler will run automatically. Note: Compiler will run prior to server starting.
|
|
26
26
|
|
|
@@ -34,7 +34,7 @@ This will compile all `src ` content into `dist`. Also creates duplicate (develo
|
|
|
34
34
|
|
|
35
35
|
`npm run webdocs` Run this command to compile Webdocs.
|
|
36
36
|
|
|
37
|
-
This will compile `docs/src` into `docs/dist`.
|
|
37
|
+
This will compile `docs/src` into `docs/dist`.
|
|
38
38
|
|
|
39
39
|
## Stylesheets
|
|
40
40
|
|
package/dist/js/scripts2.js
CHANGED
|
@@ -293,9 +293,11 @@ if (document.querySelector(".toggle-btn") || document.querySelector(".toggle-foo
|
|
|
293
293
|
// Change footnotes from 'show' to 'hide'
|
|
294
294
|
const footnotes = document.querySelector(".toggle-footnotes");
|
|
295
295
|
|
|
296
|
-
footnotes
|
|
297
|
-
footnotes.
|
|
298
|
-
|
|
296
|
+
if(footnotes) {
|
|
297
|
+
footnotes.addEventListener("click", () => {
|
|
298
|
+
footnotes.innerHTML = (footnotes.innerHTML === "[Show Footnotes]") ? "[Hide Footnotes]" : "[Show Footnotes]";
|
|
299
|
+
})
|
|
300
|
+
}
|
|
299
301
|
|
|
300
302
|
// Animated border for HRS theme
|
|
301
303
|
const hrsBorders = document.querySelectorAll(".hrs-border");
|
package/package.json
CHANGED