main #8
2 changed files with 6 additions and 7 deletions
|
@ -17,12 +17,12 @@ async function getMeowTimeout(endpoint) {
|
|||
if (response.status === 423) {
|
||||
meowButton.disabled=true;
|
||||
meowButton.innerHTML = "<span>sleeping...</span>";
|
||||
console.warn("TIMED OUT")
|
||||
console.warn("MEOW TIMED OUT")
|
||||
}
|
||||
if (response.status === 100) {
|
||||
meowButton.disabled=false;
|
||||
meowButton.innerHTML = "<span>meow</span>";
|
||||
console.warn("NOT TIMED OUT")
|
||||
console.warn("MEOW NOT TIMED OUT")
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -31,12 +31,12 @@ async function getBeepTimeout(endpoint) {
|
|||
if (response.status === 423) {
|
||||
beepButton.disabled=true;
|
||||
beepButton.innerHTML = "<span>sleeping...</span>";
|
||||
console.warn("TIMED OUT")
|
||||
console.warn("BEEP TIMED OUT")
|
||||
}
|
||||
if (response.status === 100) {
|
||||
beepButton.disabled=false;
|
||||
beepButton.innerHTML = "<span>meow</span>";
|
||||
console.warn("NOT TIMED OUT")
|
||||
console.warn("BEEP NOT TIMED OUT")
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -45,11 +45,11 @@ async function getKaomojiTimeout(endpoint) {
|
|||
if (response.status === 423) {
|
||||
kaomojiButton.disabled=true;
|
||||
kaomojiButton.innerHTML = "<span>sleeping...</span>";
|
||||
console.warn("TIMED OUT")
|
||||
console.warn("KAOMOJI TIMED OUT")
|
||||
}
|
||||
if (response.status === 100) {
|
||||
kaomojiButton.disabled=false;
|
||||
kaomojiButton.innerHTML = "<span>meow</span>";
|
||||
console.warn("NOT TIMED OUT")
|
||||
console.warn("KAOMOJI NOT TIMED OUT")
|
||||
}
|
||||
}
|
|
@ -341,7 +341,6 @@ function setOrange() {
|
|||
}
|
||||
|
||||
function getTheme() {
|
||||
|
||||
if (colorBool) {
|
||||
// if true: green
|
||||
setGreen()
|
||||
|
|
Loading…
Reference in a new issue