correccion ortográfica
This commit is contained in:
parent
81749e906d
commit
51ac5f5262
|
@ -175,17 +175,17 @@ export class Popover {
|
||||||
}
|
}
|
||||||
onDocKeyDown(event) {
|
onDocKeyDown(event) {
|
||||||
if (event.keyCode === 27) {
|
if (event.keyCode === 27) {
|
||||||
let targetId = this._findPopOver(this.latTarget);
|
let targetId = this._findPopOver(this.lastTarget);
|
||||||
if (targetId) {
|
if (targetId) {
|
||||||
this.hideChilds(targetId);
|
this.hideChilds(targetId);
|
||||||
} else {
|
} else {
|
||||||
this.hideAll();
|
this.hideAll();
|
||||||
}
|
}
|
||||||
this.latTarget = null;
|
this.lastTarget = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
onPopoverMouseDown(event) {
|
onPopoverMouseDown(event) {
|
||||||
this.latTarget = event.target;
|
this.lastTarget = event.target;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Popover.$inject = ['$document', '$compile', '$transitions'];
|
Popover.$inject = ['$document', '$compile', '$transitions'];
|
||||||
|
|
Loading…
Reference in New Issue