bootstrap-converter icon indicating copy to clipboard operation
bootstrap-converter copied to clipboard

panels don't get converted to card?

Open vesper8 opened this issue 7 years ago • 0 comments

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!

vesper8 avatar Mar 24 '19 16:03 vesper8