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 24762 4a5efadf639bdc9851bd4c3ad6a87bb10a77dbfc
parent 24761 4ac9a0e7615af3a41526b79390fd3e67e2dd9364
child 24763 5023a71ab95e7c6f792ee48def965d9750116168
push id1657
push userclokep@gmail.com
push dateMon, 06 Jun 2016 19:50:21 +0000
treeherdercomm-beta@9fac989284b5 [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();
     });