Commit c8568eb2 authored by fangjian's avatar fangjian

修复子用户资产列表点击无法收起

parent 76109f18
...@@ -183,6 +183,21 @@ $(document).ready(function () { ...@@ -183,6 +183,21 @@ $(document).ready(function () {
$('#asset_detail_tbody').html(trs) $('#asset_detail_tbody').html(trs)
}); });
function toggle() {
if ($("#split-left").is(':visible')) {
$("#split-left").hide(500, function () {
$("#split-right").attr("class", "col-lg-12");
$("#toggle-icon").attr("class", "fa fa-angle-right fa-x");
show = 1;
});
} else {
$("#split-right").attr("class", "col-lg-9");
$("#toggle-icon").attr("class", "fa fa-angle-left fa-x");
$("#split-left").show(500);
show = 0;
}
}
</script> </script>
{% endblock %} {% endblock %}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment