when login lasd sids is logged out, added cache for images they are being save to local storage when loaded, added reload for dragging elements when resizing the window or zooming the page, updated logging function, added local and cloud saving, loading for project, updated project preview image saving, updated object loading, updated sid cleaning. i did it all in one day OWO. thats it Uwu
23 lines
590 B
Plaintext
23 lines
590 B
Plaintext
</body>
|
|
</html>
|
|
<script>
|
|
function hide_menus(){
|
|
let menus = document.getElementsByClassName("cmenu");
|
|
Object.entries(menus).forEach(([key,menu]) => {
|
|
menu.style.display = "none";
|
|
});
|
|
}
|
|
hide_menus();
|
|
oncontextmenu = (e) => {
|
|
e.preventDefault()
|
|
}
|
|
$(window).focus(function(){
|
|
if(document.title == "login"){
|
|
console.log(document.title);
|
|
log_by_sid();
|
|
}else if(document.title != "login"){
|
|
check_sid(true);
|
|
console.log("check");
|
|
}
|
|
});
|
|
</script> |