diff --git a/app/src/protyle/render/av/select.ts b/app/src/protyle/render/av/select.ts
index 6ef809270..2dfb3683e 100644
--- a/app/src/protyle/render/av/select.ts
+++ b/app/src/protyle/render/av/select.ts
@@ -318,9 +318,9 @@ export const setColOption = (protyle: IProtyle, data: IAV, target: HTMLElement,
}
});
menu.addSeparator();
- let html = `
`
+ let html = `
`;
Array.from(Array(13).keys()).forEach(index => {
- html += ``
+ html += ``;
});
menu.addItem({
type: "empty",
@@ -328,11 +328,11 @@ export const setColOption = (protyle: IProtyle, data: IAV, target: HTMLElement,
label: html + "
",
bind(element) {
element.addEventListener("click", (event) => {
- const target = event.target as HTMLElement
+ const target = event.target as HTMLElement;
if (target.classList.contains("color__square") && !target.classList.contains("color__square--current")) {
element.querySelector(".color__square--current")?.classList.remove("color__square--current");
target.classList.add("color__square--current");
- const newColor = target.getAttribute("data-color")
+ const newColor = target.getAttribute("data-color");
transaction(protyle, [{
action: "updateAttrViewColOption",
id: colId,
@@ -401,7 +401,7 @@ export const setColOption = (protyle: IProtyle, data: IAV, target: HTMLElement,
desc = descElement.value;
color = newColor;
}
- })
+ });
}
});
const rect = target.getBoundingClientRect();