mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-12 20:24:43 +08:00
18 lines
566 B
Text
18 lines
566 B
Text
(function() {
|
|
'use strict';
|
|
|
|
$(".tree li.parent_li ").find("> span i").on("click", function (e) {
|
|
e.stopPropagation();
|
|
var el = $(this).closest("li.parent_li");
|
|
|
|
if (el.find(" > ul.accountNavigation").is(":visible")) {
|
|
el.find(" > span > i.triangleDown").hide();
|
|
el.find(" > span > i.triangleRight").show();
|
|
el.find(" > ul.accountNavigation").hide();
|
|
} else {
|
|
el.find(" > span > i.triangleDown").show();
|
|
el.find(" > span > i.triangleRight").hide();
|
|
el.find(" > ul.accountNavigation").show();
|
|
}
|
|
});
|
|
})();
|