Skip to content

this.tags is on the prototype instead of the element. #22

@ScarletCarson

Description

@ScarletCarson

This:

Tagging.prototype = {
        tags: [],
...

Should be:

var Tagging = function(elem, options) {
        this.elem = elem;
        this.$elem = $(elem);
        this.options = options;
        this.tags = [];
}

In order to allow a user to use more than one tagging block per page.

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