Skip to content
This repository was archived by the owner on Jun 24, 2023. It is now read-only.
This repository was archived by the owner on Jun 24, 2023. It is now read-only.

wizard undefined #80

@fniephaus

Description

@fniephaus

There seems to be a problem with the logging feature.
Even in the official demo, wizard undefined... messages are printed on the console which is probably not what you want, right?

I have changed this.el.id to this.el[0].id in the below, but I don't think this is how it should be fixed.

log: function() {
    if (!window.console || !$.fn.wizard.logging) {
        return;
    }
    var prepend = "wizard " + this.el[0].id + ": ";
    var args = [prepend];
    args.push.apply(args, arguments);
    console.log.apply(console, args);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions