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

This commit is contained in:
Raphael Michel
2019-07-15 11:26:42 +02:00
parent 020122b44f
commit 8d674965d1
6 changed files with 17 additions and 3 deletions

View File

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