mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-02-22 10:20:48 +00:00
Fix for text adding
This commit is contained in:
parent
347a3de22c
commit
9ecb6b4a24
@ -60,6 +60,7 @@ export class TextEditorComponent implements OnInit, OnDestroy {
|
|||||||
);
|
);
|
||||||
this.deactivateTextAdding();
|
this.deactivateTextAdding();
|
||||||
this.innerText = '';
|
this.innerText = '';
|
||||||
|
this.temporaryTextElement.nativeElement.innerText = '';
|
||||||
this.temporaryTextElement.nativeElement.removeEventListener('focusout', this.textListener);
|
this.temporaryTextElement.nativeElement.removeEventListener('focusout', this.textListener);
|
||||||
this.renderer.setStyle(this.temporaryTextElement.nativeElement, 'display', 'none');
|
this.renderer.setStyle(this.temporaryTextElement.nativeElement, 'display', 'none');
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user