Bug 1501952 - Make mScaleCombobox point to the right element. r=bgrins
authorDão Gottwald <dao@mozilla.com>
Thu, 25 Oct 2018 13:53:12 +0000
changeset 491337 0e96d60023213064e9dfef68c59979459248fd7a
parent 491336 c6a8b4d451afa922c4838bd202749c7e131cf05e
child 491338 219cc9ec62c81b76b210fe0fb2d3e14d6dff6c2a
push id247
push userfmarier@mozilla.com
push dateSat, 27 Oct 2018 01:06:44 +0000
reviewersbgrins
bugs1501952
milestone65.0a1
Bug 1501952 - Make mScaleCombobox point to the right element. r=bgrins Differential Revision: https://phabricator.services.mozilla.com/D9763
toolkit/components/printing/content/printPreviewToolbar.js
--- a/toolkit/components/printing/content/printPreviewToolbar.js
+++ b/toolkit/components/printing/content/printPreviewToolbar.js
@@ -80,17 +80,17 @@ customElements.define("printpreview-tool
     this.mPageTextBox = document.getElementById("print-preview-pageNumber");
 
     this.mNavigateNextButton = document.getElementById("print-preview-navigateNext");
 
     this.mNavigateEndButton = document.getElementById("print-preview-navigateEnd");
 
     this.mTotalPages = document.getElementById("print-preview-totalPages");
 
-    this.mScaleCombobox = document.getElementById("print-preview-scale-label");
+    this.mScaleCombobox = document.getElementById("print-preview-scale");
 
     this.mPortaitButton = document.getElementById("print-preview-portrait-button");
 
     this.mLandscapeButton = document.getElementById("print-preview-landscape-button");
 
     this.mSimplifyPageCheckbox = document.getElementById("print-preview-simplify");
 
     this.mSimplifyPageNotAllowed = this.mSimplifyPageCheckbox.disabled;