mobile support, idek
This commit is contained in:
10
js/main.js
10
js/main.js
@ -23,7 +23,7 @@ function cursor() {
|
||||
cursor.style.backgroundColor = "var(--color-1)";
|
||||
cursor.style.position = "absolute";
|
||||
cursor.style.borderRadius = "100%";
|
||||
cursor.style.filter = "blur(40px)";
|
||||
cursor.style.filter = "blur(60px)";
|
||||
cursor.style.opacity = "1";
|
||||
cursor.style.pointerEvents = "none";
|
||||
document.body.appendChild(cursor);
|
||||
@ -37,9 +37,11 @@ function themes() {
|
||||
}
|
||||
|
||||
document.addEventListener("DOMContentLoaded", ()=>{
|
||||
setBackground();
|
||||
loadPJS();
|
||||
cursor();
|
||||
if(!(localStorage.getItem("selenite.fast-mode") == 'true')) {
|
||||
setBackground();
|
||||
loadPJS();
|
||||
cursor();
|
||||
}
|
||||
themes();
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user