From 67e731ccb5fdeed20ffc8af3ef8b07867605bbbd Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Sat, 18 Jul 2020 11:24:59 +0300 Subject: [PATCH] fix --- html_resources/selector.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/html_resources/selector.js b/html_resources/selector.js index 4b7127f..f3d8e68 100644 --- a/html_resources/selector.js +++ b/html_resources/selector.js @@ -63,7 +63,9 @@ let currentCategory = new (function(){ targetNode && targetNode.classList.remove("currentCategory"); targetNode = t; targetNode.classList.add("currentCategory"); - !secondary && currentTopLevelFileNames = DB.query(t.textContent); + if(!secondary){ + currentTopLevelFileNames = DB.query(t.textContent); + } //this.fileNames = DB.query(t.textContent,secondary?this.fileNames:null); };