forked from CGM_Public/pretix_original
Auto-expand variation description when variation is selected
This commit is contained in:
@@ -144,6 +144,11 @@ $(function () {
|
||||
$('.toggle-variation-description').click(function () {
|
||||
$(this).parent().find('.addon-variation-description').slideToggle();
|
||||
});
|
||||
$('input[type=radio][description]').change(function () {
|
||||
if ($(this).prop("checked")) {
|
||||
$(this).parent().parent().find('.addon-variation-description').stop().slideDown();
|
||||
}
|
||||
});
|
||||
|
||||
// Copy answers
|
||||
$(".js-copy-answers").click(function (e) {
|
||||
|
||||
Reference in New Issue
Block a user