We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 16630b6 + 16d0077 commit 0fedfc9Copy full SHA for 0fedfc9
1 file changed
src/display/editor/editor.js
@@ -1177,6 +1177,9 @@ class AnnotationEditor {
1177
}
1178
1179
addStandaloneCommentButton() {
1180
+ if (!this._uiManager.hasCommentManager()) {
1181
+ return;
1182
+ }
1183
if (this.#commentStandaloneButton) {
1184
if (this._uiManager.isEditingMode()) {
1185
this.#commentStandaloneButton.classList.remove("hidden");
0 commit comments