mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-07-29 15:29:14 +02:00
fix error
This commit is contained in:
+1
-1
@@ -263,7 +263,7 @@ function updateDirs(payload) {
|
||||
node.className = "item";
|
||||
node.textContent = name;
|
||||
node.addEventListener("click", (e) => onClick(node, e));
|
||||
if(onContext !== undefined) node.addEventListener("contextmenu", () => onContext(node, e));
|
||||
if(onContext !== undefined) node.addEventListener("contextmenu", (e) => onContext(node, e));
|
||||
box.appendChild(node);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user