Skip to content

panels don't get converted to card? #1

Description

@vesper8

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions