Revert "Allow to show description of add-on product variations by default"

This reverts commit 8d674965d1.
This commit is contained in:
Raphael Michel
2019-07-16 11:46:11 +02:00
parent dc42dbb837
commit b67c684969
6 changed files with 3 additions and 17 deletions

View File

@@ -140,8 +140,8 @@ $(function () {
$("#ajaxerr").on("click", ".ajaxerr-close", ajaxErrDialog.hide);
// AddOns
$('.collapse-vardesc .addon-variation-description').hide();
$('.collapse-vardesc .toggle-variation-description').click(function () {
$('.addon-variation-description').hide();
$('.toggle-variation-description').click(function () {
$(this).parent().find('.addon-variation-description').slideToggle();
});

View File

@@ -88,11 +88,7 @@
margin-top: 10px;
}
.toggle-variation-description {
display: none;
}
.collapse-vardesc .toggle-variation-description {
cursor: pointer;
display: block;
}
#voucher-toggle {
display: none;