clippy check for interact fix
This commit is contained in:
@@ -34,9 +34,12 @@
|
||||
position.y = stored_position.y
|
||||
document.getElementById("main-window").style.transform =
|
||||
`translate(${position.x}px, ${position.y}px)`
|
||||
document.getElementById("clippy").style.transform =
|
||||
`translate(${position.x}px, ${position.y}px)`
|
||||
document.getElementById("clippy").classList.remove('hide');
|
||||
clippy = document.getElementById("clippy")
|
||||
if (clippy) {
|
||||
clippy.style.transform =
|
||||
`translate(${position.x}px, ${position.y}px)`
|
||||
clippy.classList.remove('hide');
|
||||
}
|
||||
} else {
|
||||
localStorage.removeItem("position")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user