Add setting to turn off automatic collapsing of variations

This commit is contained in:
Raphael Michel
2017-01-22 20:31:59 +01:00
parent 3a2ca8d3d6
commit 78fc58cc93
5 changed files with 16 additions and 5 deletions

View File

@@ -20,7 +20,7 @@ $(function () {
$($(this).attr("data-target")).collapse('show');
});
$(".js-only").removeClass("js-only");
$(".variations").hide();
$(".variations-collapsed").hide();
$("a[data-toggle=variations]").click(function (e) {
$(this).parent().parent().parent().find(".variations").slideToggle();
e.preventDefault();