Fix for pins on options

This commit is contained in:
ebolam
2022-09-07 14:16:11 -04:00
parent 4a5293fea8
commit 815ccf0264

View File

@@ -249,6 +249,8 @@ function create_options(data) {
icon.setAttribute('data-glyph', "pin");
if (!(item.Pinned)) {
icon.setAttribute('style', "filter: brightness(50%);");
} else {
icon.removeAttribute('style');
}
iconcell.onclick = function () {
socket.emit("Pinning", {"chunk": this.getAttribute("option_chunk"), "option": this.getAttribute("option_id")});