Skip to content

Commit 577fbd1

Browse files
committed
Change the version of the bs-color-scheme.js MathJax extension.
Since we are now on MathJax 4.1.1 and the version specified in the `bs-color-scheme.js` file is 4.1.0, a console warning points out the version mismatch. We will need to remember to change this every time we upgrade MathJax. Of course the extension will also need to be updated for changes to MathJax.
1 parent 3567f60 commit 577fbd1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

htdocs/js/MathJaxConfig/bs-color-scheme.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
if (MathJax.loader) MathJax.loader.checkVersion('[bs-color-scheme]', '4.1.0', 'extension');
1+
if (MathJax.loader) MathJax.loader.checkVersion('[bs-color-scheme]', '4.1.1', 'extension');
22

33
const switchToBSStyle = (obj, key = '@media (prefers-color-scheme: dark)') => {
44
obj["[data-bs-theme='dark']"] = obj[key];

0 commit comments

Comments
 (0)