mirror of
https://github.com/0dayCTF/reverse-shell-generator.git
synced 2025-01-22 10:38:48 +00:00
Bug fixes
This commit is contained in:
parent
fb4d01bd48
commit
12ce1def9d
@ -22,11 +22,12 @@ window.addEventListener("load", function () {
|
||||
function initTheme() {
|
||||
var currentTheme = localStorage.getItem("currentTheme");
|
||||
|
||||
if (currentTheme === null) {
|
||||
console.log("null")
|
||||
if (currentTheme == null) {
|
||||
document.body.removeAttribute("data-theme")
|
||||
} else {
|
||||
console.log("there")
|
||||
document.body.setAttribute("data-theme", currentTheme)
|
||||
$("#theme-selector").val(currentTheme).change();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user