Update showImageOnMenu.js

This commit is contained in:
Alexander Brown
2023-07-17 18:11:59 -07:00
committed by GitHub
parent 93f2a5788d
commit bfef892ade
+3 -1
View File
@@ -70,7 +70,9 @@ const ext = {
enabled = value;
if (!value) {
app.ui.menuContainer.style.removeProperty("padding-bottom");
app.ui.menuContainer.removeChild(link);
if (link.parentNode) {
link.parentNode.removeChild(link);
}
}
},
});