From 7acc6738382f97ce3afaea553cd50e0829c667e9 Mon Sep 17 00:00:00 2001 From: Emma Malysz Date: Wed, 2 Sep 2020 16:55:23 +0000 Subject: [PATCH] Bug 1662691, ensure we clear the error timeout when switching to 'all' page range r=sfoster Differential Revision: https://phabricator.services.mozilla.com/D89158 --- toolkit/components/printing/content/print.js | 1 + 1 file changed, 1 insertion(+) diff --git a/toolkit/components/printing/content/print.js b/toolkit/components/printing/content/print.js index 4b8a758b23bf..2d527bfd4812 100644 --- a/toolkit/components/printing/content/print.js +++ b/toolkit/components/printing/content/print.js @@ -1346,6 +1346,7 @@ class PageRangeInput extends PrintUIControlMixin(HTMLElement) { startPageRange: this._startRange.value, endPageRange: this._endRange.value, }); + window.clearTimeout(this.showErrorTimeoutId); this._rangeError.hidden = true; this._startRangeOverflowError.hidden = true; return;