Skip to content
This repository was archived by the owner on Dec 17, 2019. It is now read-only.
This repository was archived by the owner on Dec 17, 2019. It is now read-only.

Not working with on("click", ... ) handlers  #14

@gerwinbrunner

Description

@gerwinbrunner

Hi,

it seems that the plugin is not working when I have the event handlers registered like this:

  $(document).on "click", ".do-confirm", ->
    console.log "hey"
    return

  $(".do-confirm").click ->
    console.log "hoe"
    return

  $(".do-confirm").popConfirm()

The "hoe" gets printed, but the "hey" does not.
Is there a reason why this is this way?

Cheers,
Gerwin

P.S.: I'd lover to use this plugin with meteorJS and they register the events like mentioned in the first example.

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