From 65be29b86ecb5a25c497822342fc97f43d3d4a3a Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Sat, 17 Aug 2019 11:19:05 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E6=9B=B4=E6=94=B9=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bootstrap.Admin/Views/Shared/_Admin.cshtml | 2 +- .../longbow.tree.js => longbow-tree/longbow-tree.js} | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) rename Bootstrap.Admin/wwwroot/lib/{longbow.tree/longbow.tree.js => longbow-tree/longbow-tree.js} (99%) diff --git a/Bootstrap.Admin/Views/Shared/_Admin.cshtml b/Bootstrap.Admin/Views/Shared/_Admin.cshtml index be44bb8d..f5065d06 100644 --- a/Bootstrap.Admin/Views/Shared/_Admin.cshtml +++ b/Bootstrap.Admin/Views/Shared/_Admin.cshtml @@ -30,7 +30,7 @@ - + @RenderSection("javascript", false) diff --git a/Bootstrap.Admin/wwwroot/lib/longbow.tree/longbow.tree.js b/Bootstrap.Admin/wwwroot/lib/longbow-tree/longbow-tree.js similarity index 99% rename from Bootstrap.Admin/wwwroot/lib/longbow.tree/longbow.tree.js rename to Bootstrap.Admin/wwwroot/lib/longbow-tree/longbow-tree.js index 8ed224ae..ca102dc7 100644 --- a/Bootstrap.Admin/wwwroot/lib/longbow.tree/longbow.tree.js +++ b/Bootstrap.Admin/wwwroot/lib/longbow-tree/longbow-tree.js @@ -92,7 +92,6 @@ event.preventDefault(); var parentLi = $relativeTarget.parents(Selector.LI).first(); var isOpen = parentLi.hasClass(ClassName.OPEN); - if (isOpen) { this.collapse($(treeviewMenu), parentLi); } else {