Bug 1261918 - set .style.height in accountProvisioner.js also specifying units. r=Paenglab
authoraceman <acelists@atlas.sk>
Mon, 04 Apr 2016 12:12:00 +0200
changeset 19172 4a5efadf639bdc9851bd4c3ad6a87bb10a77dbfc
parent 19171 4ac9a0e7615af3a41526b79390fd3e67e2dd9364
child 19173 5023a71ab95e7c6f792ee48def965d9750116168
push id11769
push useraleth@instantbird.org
push dateMon, 04 Apr 2016 22:43:27 +0000
treeherdercomm-central@49be41a82721 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersPaenglab
bugs1261918
Bug 1261918 - set .style.height in accountProvisioner.js also specifying units. r=Paenglab
mail/components/newmailaccount/content/accountProvisioner.js
--- a/mail/components/newmailaccount/content/accountProvisioner.js
+++ b/mail/components/newmailaccount/content/accountProvisioner.js
@@ -264,17 +264,17 @@ var EmailAccountProvisioner = {
     }
     nameElement.value = name;
     EmailAccountProvisioner.saveName();
 
     // Pretend like we've typed something into the search input to set the
     // initial enabled/disabled state of the search button.
     EmailAccountProvisioner.onSearchInputOrProvidersChanged();
 
-    document.getElementById("window").style.height = window.innerHeight - 1;
+    document.getElementById("window").style.height = (window.innerHeight - 1) + "px";
 
     document.querySelector("button.existing").addEventListener("click", function() {
       EmailAccountProvisioner.saveName();
       EmailAccountProvisioner.NewMailAccount(EmailAccountProvisioner.msgWindow,
                                              null,
                                              window.arguments[0]);
       window.close();
     });