correccion ortográfica

This commit is contained in:
Dani Herrero 2017-07-05 14:59:40 +02:00
parent 81749e906d
commit 51ac5f5262
1 changed files with 3 additions and 3 deletions

View File

@ -175,17 +175,17 @@ export class Popover {
}
onDocKeyDown(event) {
if (event.keyCode === 27) {
let targetId = this._findPopOver(this.latTarget);
let targetId = this._findPopOver(this.lastTarget);
if (targetId) {
this.hideChilds(targetId);
} else {
this.hideAll();
}
this.latTarget = null;
this.lastTarget = null;
}
}
onPopoverMouseDown(event) {
this.latTarget = event.target;
this.lastTarget = event.target;
}
}
Popover.$inject = ['$document', '$compile', '$transitions'];