Skip to content

Commit c71fd49

Browse files
Merge pull request #300 from KarryCharon/main
fix #295
2 parents abf3711 + 4bf6bfe commit c71fd49

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)