mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-12 19:02:53 +08:00
fix expand not working
This commit is contained in:
parent
fc65d2ef88
commit
31a57d4f4f
@ -136,7 +136,7 @@ export const Graph = ({ isWidget = false }: { isWidget?: boolean }) => {
|
||||
const nodeList = collapsedNodes.map((id) => `[id*="node-${id}"]`);
|
||||
const edgeList = collapsedEdges.map((id) => `[class*="edge-${id}"]`);
|
||||
|
||||
const hiddenItems = document.querySelectorAll("hide");
|
||||
const hiddenItems = document.querySelectorAll(".hide");
|
||||
hiddenItems.forEach((item) => item.classList.remove("hide"));
|
||||
|
||||
if (nodeList.length) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user