Commenting out console logging.

This commit is contained in:
Brian McGonagill 2025-07-23 19:44:24 -05:00
parent 4687f27011
commit d25ef56591
31 changed files with 87 additions and 87 deletions

View file

@ -11,14 +11,14 @@ Template.MainLayout.onRendered(function() {
let myprefs = await UserConfig.findOneAsync({ user: myId });
try {
if (!myprefs) {
console.log("User Prefs appear undefined.");
// console.log("User Prefs appear undefined.");
} else {
if (myprefs.darkMode == "light") {
console.log("Found theme as light");
// console.log("Found theme as light");
Session.set("myTheme", "light");
document.documentElement.setAttribute('theme', "light");
} else {
console.log("Found theme as dark");
// console.log("Found theme as dark");
Session.set("myTheme", "dark");
document.documentElement.setAttribute('theme', "dark");
}