Hi there! I'm making use of this script and finding it useful so far for saving time.
I noticed this logic that is meant to convert the different types of panels to card:
$('.card').each(function () {
$this = $(this);
if ($this.hasClass('card-background')) {
convertCardBackground($this, $);
} else if ($this.hasClass('card-horizontal')) {
convertCardHorizontal($this, $);
} else if ($this.hasClass('card-image')) {
convertCardDefault($this, $);
} else {
convertCardDefault($this, $);
}
});
However, there is nowhere in the script prior to this point that actually replaces .panel with .card, so this loop is never entered into?
Am I missing something.. or did you accidentally leave that part out maybe?
Thanks for this!
Hi there! I'm making use of this script and finding it useful so far for saving time.
I noticed this logic that is meant to convert the different types of panels to card:
However, there is nowhere in the script prior to this point that actually replaces .panel with .card, so this loop is never entered into?
Am I missing something.. or did you accidentally leave that part out maybe?
Thanks for this!