chore: formatter
This commit is contained in:
parent
bf37f91a34
commit
00d62c5d42
1 changed files with 4 additions and 4 deletions
|
|
@ -22,7 +22,7 @@ document.addEventListener("DOMContentLoaded", function () {
|
||||||
"border-yellow-500",
|
"border-yellow-500",
|
||||||
"relative",
|
"relative",
|
||||||
"highlighted",
|
"highlighted",
|
||||||
"p-2"
|
"p-2",
|
||||||
);
|
);
|
||||||
let controls = document.createElement("div");
|
let controls = document.createElement("div");
|
||||||
controls.className =
|
controls.className =
|
||||||
|
|
@ -67,7 +67,7 @@ document.addEventListener("DOMContentLoaded", function () {
|
||||||
"_",
|
"_",
|
||||||
`on mouseover set my.style.zIndex to 10000
|
`on mouseover set my.style.zIndex to 10000
|
||||||
on mouseout set my.style.zIndex to "initial"
|
on mouseout set my.style.zIndex to "initial"
|
||||||
`
|
`,
|
||||||
);
|
);
|
||||||
controls.appendChild(cloneIcon);
|
controls.appendChild(cloneIcon);
|
||||||
|
|
||||||
|
|
@ -81,7 +81,7 @@ document.addEventListener("DOMContentLoaded", function () {
|
||||||
// Function to remove highlights
|
// Function to remove highlights
|
||||||
function removeHighlights() {
|
function removeHighlights() {
|
||||||
const elements = document.querySelectorAll(
|
const elements = document.querySelectorAll(
|
||||||
"[data-bliss-route].highlighted"
|
"[data-bliss-route].highlighted",
|
||||||
);
|
);
|
||||||
elements.forEach((el) => {
|
elements.forEach((el) => {
|
||||||
el.classList.remove(
|
el.classList.remove(
|
||||||
|
|
@ -89,7 +89,7 @@ document.addEventListener("DOMContentLoaded", function () {
|
||||||
"border-yellow-500",
|
"border-yellow-500",
|
||||||
"relative",
|
"relative",
|
||||||
"highlighted",
|
"highlighted",
|
||||||
"p-2"
|
"p-2",
|
||||||
);
|
);
|
||||||
el.querySelectorAll(".inspector-controls").forEach((el) => el.remove());
|
el.querySelectorAll(".inspector-controls").forEach((el) => el.remove());
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue