Bug 1501952 - Make mScaleCombobox point to the right element. r=bgrins a=RyanVM
authorDão Gottwald <dao@mozilla.com>
Thu, 25 Oct 2018 13:53:12 +0000
changeset 498161 a265524c6b4eb8cdeccb679cb182f7f243be8477
parent 498160 76a4c8598007554ea16603e9880c0363fefb31b9
child 498162 da38ee596267423f27bc29549f82083f9819cfcb
push id10051
push usercbrindusan@mozilla.com
push dateFri, 26 Oct 2018 16:40:15 +0000
treeherdermozilla-beta@da38ee596267 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbgrins, RyanVM
bugs1501952
milestone64.0
Bug 1501952 - Make mScaleCombobox point to the right element. r=bgrins a=RyanVM 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;