mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-02-21 02:01:19 +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.innerText = '';
|
||||
this.temporaryTextElement.nativeElement.innerText = '';
|
||||
this.temporaryTextElement.nativeElement.removeEventListener('focusout', this.textListener);
|
||||
this.renderer.setStyle(this.temporaryTextElement.nativeElement, 'display', 'none');
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user