Bug 1662691, ensure we clear the error timeout when switching to 'all' page range r=sfoster

Differential Revision: https://phabricator.services.mozilla.com/D89158
This commit is contained in:
Emma Malysz 2020-09-02 16:55:23 +00:00
Родитель 7fb69eef2a
Коммит 7acc673838
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -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;