Skip to content

Remove handler called multiple times #20

Description

@ricardobeat

After implementing #19 it uncovered a little bug, the mousedown.editor listener is being added to the body multiple times, one for each time you click inside the editable area. Can be fixed with

$('body').unbind('mousedown.editor').bind('mousedown.editor', function(e) {

Or by simply making editableInit bail out before that.

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