1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Merge pull request #15231 from calixteman/bug1781763

[Editor] Don't set as active an editor which is not (bug 1781763)
This commit is contained in:
calixteman 2022-07-27 18:45:07 +02:00 committed by GitHub
commit 45b9e8417d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -267,7 +267,6 @@ class FreeTextEditor extends AnnotationEditor {
onceAdded() {
if (this.width) {
// The editor was created in using ctrl+c.
this.parent.setActiveEditor(this);
return;
}
this.enableEditMode();