diff options
author | Rasmus Luha <rasmus.luha@gmail.com> | 2023-01-07 20:15:49 +0200 |
---|---|---|
committer | Rasmus Luha <rasmus.luha@gmail.com> | 2023-01-07 20:15:49 +0200 |
commit | a23f08d5c33da938c758728bda20c79a57c76ab9 (patch) | |
tree | 06d6da58518327e3cd78591af4af39bad6e52b29 /rannak/mangud/uliopilane/tSark/main.js | |
parent | 2963d358fecd49fd9b140c4df1fea7de04cb5757 (diff) |
Tsark, rolliValik, Map update
Diffstat (limited to 'rannak/mangud/uliopilane/tSark/main.js')
-rw-r--r-- | rannak/mangud/uliopilane/tSark/main.js | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/rannak/mangud/uliopilane/tSark/main.js b/rannak/mangud/uliopilane/tSark/main.js index 485c189..ddbd533 100644 --- a/rannak/mangud/uliopilane/tSark/main.js +++ b/rannak/mangud/uliopilane/tSark/main.js @@ -375,7 +375,7 @@ const chkBtn = document.querySelector(".checkMoveOn"); chkBtn.addEventListener("click", (e) => { if (stuffDone.length >= 3){ - message("Korras! Soovi korral tee screenshot (Win+Shift+S)", "green"); + message("Korras! Soovi korral tee screenshot (Win+Shift+S)", "#4BB543"); moveOnEnable(); } else @@ -386,6 +386,13 @@ function moveOnEnable(){ const btn = document.querySelector(".moveOn"); btn.disabled = false; btn.onclick = () => location.href = "../utlused"; + + let tst = document.querySelectorAll(".resizer"); + for (elinjo of tst){ + elinjo.style.height = 0; + elinjo.style.width = 0; + } + } // 6 @@ -437,4 +444,12 @@ nulliBtn.addEventListener("click", () => { it.style.left = brr.left + 200; //it.style.top = brr.top + 300; + + // Moving IMg Corners + let tst = document.querySelectorAll(".resizer"); + for (elinjo of tst){ + elinjo.style.height = "7px"; + elinjo.style.width = "7px"; + } + }) |