mirror of
https://github.com/ION606/PINK-NODDERS.git
synced 2026-05-14 22:16:52 +00:00
added storage cap
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@
|
|||||||
<div id="cherryBlossomPopup" class="popup">
|
<div id="cherryBlossomPopup" class="popup">
|
||||||
<div class="popup-content">
|
<div class="popup-content">
|
||||||
<button class="close-btn" onclick="document.getElementById('cherryBlossomPopup').style.display = 'none'">X</button>
|
<button class="close-btn" onclick="document.getElementById('cherryBlossomPopup').style.display = 'none'">X</button>
|
||||||
<h2>Cherry Blossom Popup</h2>
|
<h2>PINK OPTIONS</h2>
|
||||||
<input type="number" placeholder="HOW MANY PINK NODDERS">
|
<input type="number" placeholder="HOW MANY PINK NODDERS">
|
||||||
<div class="button-group">
|
<div class="button-group">
|
||||||
<button class="theme-button" onclick="changeNodders()">CHANGE NODDERS</button>
|
<button class="theme-button" onclick="changeNodders()">CHANGE NODDERS</button>
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ function updatePosition(emote) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Create multiple emotes and make them bounce around
|
// Create multiple emotes and make them bounce around
|
||||||
|
if (Number(localStorage.getItem('alen')) > 10000) localStorage.setItem('alen', '20');
|
||||||
const aLength = (localStorage.getItem('alen')) ? Number(localStorage.getItem('alen')) : 20;
|
const aLength = (localStorage.getItem('alen')) ? Number(localStorage.getItem('alen')) : 20;
|
||||||
let emotes = Array.from({ length: aLength }, createEmote);
|
let emotes = Array.from({ length: aLength }, createEmote);
|
||||||
|
|
||||||
@@ -126,9 +127,13 @@ document.addEventListener('DOMContentLoaded', () => {
|
|||||||
|
|
||||||
animIntTime = (animIntTime <= 500) ? 2000 : animIntTime - 500;
|
animIntTime = (animIntTime <= 500) ? 2000 : animIntTime - 500;
|
||||||
console.debug(animIntTime);
|
console.debug(animIntTime);
|
||||||
|
|
||||||
animIntId = setInterval(animateEmotes, animIntTime);
|
animIntId = setInterval(animateEmotes, animIntTime);
|
||||||
}
|
}
|
||||||
|
else if (event.ctrlKey && event.key === 'l') {
|
||||||
|
event.preventDefault();
|
||||||
|
window.open("https://ion606.com", "_blank");
|
||||||
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user