summaryrefslogtreecommitdiff
path: root/rannak/mangud/uliopilane/tSark/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'rannak/mangud/uliopilane/tSark/main.js')
-rw-r--r--rannak/mangud/uliopilane/tSark/main.js17
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";
+ }
+
})