mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Refined link edit cancellation on analytics page
refs https://github.com/TryGhost/Team/issues/2116 - ignores blur events when link is edited via keypress
This commit is contained in:
parent
86a9695ccb
commit
25f76642b3
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ export default class LinksTable extends Component {
|
|||
@action
|
||||
handleBlur(event) {
|
||||
event?.preventDefault();
|
||||
if (!event?.relatedTarget?.matches('.gh-links-list-item-update-button')) {
|
||||
if (this.editingLink && !event?.relatedTarget?.matches('.gh-links-list-item-update-button')) {
|
||||
this.cancelEdit();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue