From 620b9b96f3387a61891a5de5a349912d2dc1ad42 Mon Sep 17 00:00:00 2001 From: DrugsZ <1002881508@qq.com> Date: Wed, 1 Aug 2018 17:04:15 +0800 Subject: [PATCH] fix bug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在收缩情况下,箭头错误,在收缩时,应该为向右的箭头 --- select2tree.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select2tree.js b/select2tree.js index 5ee8d51..3629547 100644 --- a/select2tree.js +++ b/select2tree.js @@ -69,7 +69,7 @@ var $this = $(this); //loop li add some classes and properties if($this.attr("parent")) { - $(this).siblings("li[val=" + $this.attr("parent") + "]").find("span:eq(0)").addClass("glyphicon glyphicon-chevron-down switch").css({ + $(this).siblings("li[val=" + $this.attr("parent") + "]").find("span:eq(0)").addClass("glyphicon glyphicon-chevron-right switch").css({ "padding": "0 10px", "cursor": "default" });