Skip to content
Snippets Groups Projects
Commit ba7b826b authored by Julian's avatar Julian
Browse files

Toggle card view using JS

parent 336766cd
No related branches found
No related tags found
1 merge request!236Resolve "Improve week view for mobile devices (size s)"
Pipeline #38585 passed with warnings
......@@ -426,6 +426,14 @@
$("#id_group").val("").formSelect();
});
});
$(".unfold-trigger").click(function (event) {
console.log(event);
let target = event.target;
target.classList.toggle("vertical");
let next_container = $(target).parent().next(".horizontal-scroll-container");
if (next_container.length >= 1){
next_container[0].classList.toggle("vertical");
}
})
</script>
{% endblock %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment