correccion ortográfica
This commit is contained in:
parent
81749e906d
commit
51ac5f5262
|
@ -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'];
|
||||
|
|
Loading…
Reference in New Issue