Skip to content

Commit 1e09866

Browse files
author
fairlearn
committed
Pushing the docs to main/ for branch: main, commit 7aade7344af911694198fbaa5579ad64d6f82ada
1 parent 4a028b5 commit 1e09866

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

js/landing_page.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -142,12 +142,12 @@ $(document).ready(function () {
142142
$(".navbar-toggler").click();
143143
}
144144
});
145-
146-
145+
146+
147147
$(document).ready(function () {
148148
// Check if the user has changed the theme before
149149
const savedTheme = localStorage.getItem('theme');
150-
150+
151151
// If no saved preference, check system preference
152152
if (savedTheme) {
153153
$("body").addClass(savedTheme);
@@ -157,10 +157,10 @@ $(document).ready(function () {
157157
$("body").addClass("dark-theme");
158158
}
159159
}
160-
160+
161161
$("#lightmode").click(function () {
162162
$("body").toggleClass("dark-theme");
163-
163+
164164
// Save the current theme
165165
if ($("body").hasClass("dark-theme")) {
166166
localStorage.setItem('theme', 'dark-theme');
@@ -175,7 +175,7 @@ $(document).ready(function () {
175175

176176
async function setLinks() {
177177
// update this version with every release
178-
const latestVersion = 'v0.12'; // Do not include the patch
178+
const latestVersion = 'v0.13'; // Do not include the patch
179179
const prefix = "./" + latestVersion;
180180

181181
const contribGuideLink = prefix + "/contributor_guide/index.html";

0 commit comments

Comments
 (0)