Skip to content

Commit 4bf6bfe

Browse files
committed
fix #295
1 parent abf3711 commit 4bf6bfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/js/customColors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ app.registerExtension({
3030
requestAnimationFrame(() => {
3131
const menus = document.querySelectorAll(".litecontextmenu");
3232
for (let i = menus.length - 1; i >= 0; i--) {
33-
if (menus[i].firstElementChild.textContent.includes("No color")) {
33+
if (menus[i].firstElementChild.textContent.includes("No color") || menus[i].firstElementChild.value?.content?.includes("No color")) {
3434
$el(
3535
"div.litemenu-entry.submenu",
3636
{

0 commit comments

Comments
 (0)