diff --git a/user/plugins/sleeky-backend/assets/js/theme.js b/user/plugins/sleeky-backend/assets/js/theme.js
index 5b1b9bd..d4b8c78 100644
--- a/user/plugins/sleeky-backend/assets/js/theme.js
+++ b/user/plugins/sleeky-backend/assets/js/theme.js
@@ -20,7 +20,7 @@ $( document ).ready(function() {
} else if ($('meta[name=sleeky_theme]').attr("content") == 'dark') {
theme = "dark";
}
-
+
console.log("Theme is", theme)
// Update favicon
@@ -40,7 +40,7 @@ $( document ).ready(function() {
$("#login").prepend(`
`);
}
-
+
} else if ($("body").hasClass("index")) {
// Index page
console.log("Index page");
@@ -99,7 +99,7 @@ $( document ).ready(function() {
}
} else {
console.warn("Unknown page");
-
+
handleNav();
}
@@ -137,8 +137,8 @@ $( document ).ready(function() {
// Update footer
var content = $(this).html();
var i = 77
- var updated_content = "Running on" + content.slice(13, i) + '& Sleeky' + content.slice(i-1)
+ var updated_content = "Running on" + content.slice(13, i) + ' & Sleeky' + content.slice(i-0)
$(this).html(updated_content);
}
});
-});
\ No newline at end of file
+});