Skip to content

Commit

Permalink
Fixed naming issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Sleeckx committed Jul 27, 2016
1 parent 9978ac6 commit d16cb2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/WebComponents/Dialog/dialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ namespace Vidyano.WebComponents {
});
}

private _close(e: KeyboardEvent) {
private _esc(e: KeyboardEvent) {
this.close();
}

Expand Down Expand Up @@ -135,7 +135,7 @@ namespace Vidyano.WebComponents {

info.keybindings = info.keybindings || {};
info.keybindings["esc"] = {
listener: "_close"
listener: "_esc"
};

return WebComponent.register(obj, info, prefix);
Expand Down

0 comments on commit d16cb2a

Please sign in to comment.