From 0335c289a3da30fcd0c7c2beb48e54d9fd42fa03 Mon Sep 17 00:00:00 2001 From: Daniel Ellis Date: Mon, 2 Dec 2024 22:07:46 +0000 Subject: [PATCH] development --- static/circlepacked/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/circlepacked/index.js b/static/circlepacked/index.js index fa1accd..ecf2a02 100644 --- a/static/circlepacked/index.js +++ b/static/circlepacked/index.js @@ -147,7 +147,7 @@ function chart(data) { function zoom(event, d) { - if (d.depth > 2 && d.parent) {d = d.parent} + if (d.depth > 2) {d = d.parent} else{return 0}; const focus0 = focus;