diff --git a/src/display/editor/stamp.js b/src/display/editor/stamp.js index 50ff743c3..1d6cd7ea4 100644 --- a/src/display/editor/stamp.js +++ b/src/display/editor/stamp.js @@ -221,10 +221,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 ); }