diff --git a/src/display/editor/stamp.js b/src/display/editor/stamp.js index 00352c72f..caa374fb9 100644 --- a/src/display/editor/stamp.js +++ b/src/display/editor/stamp.js @@ -249,10 +249,11 @@ class StampEditor extends AnnotationEditor { /** @inheritdoc */ isEmpty() { - return ( - this.#bitmapPromise === null && - this.#bitmap === null && - this.#bitmapUrl === null + return !( + this.#bitmapPromise || + this.#bitmap || + this.#bitmapUrl || + this.#bitmapFile ); }