Skip to content

execute unnecessary code  #2

Description

@suhaotian

Demo at: http://output.jsbin.com/fafuvarone

Modal code from: https://github.com/HumanDesign/mithril-modal

I just add alert(1) to Modal.config handleKey,

when hit ** ESC **, will alert(1). but the handelKey method code unnecessary to execute.

@lhorie

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions