diff --git a/mailnews/compose/resources/content/askSendFormat.js b/mailnews/compose/resources/content/askSendFormat.js index 7b7245d75d65..31f6a06292e6 100644 --- a/mailnews/compose/resources/content/askSendFormat.js +++ b/mailnews/compose/resources/content/askSendFormat.js @@ -148,7 +148,7 @@ function Startup() //change the button label var buttonlabels = document.getElementById("okCancelButtons"); - element = document.documentElement.getButton("accept"); + element = document.getElementById("ok"); element.setAttribute("label", buttonlabels.getAttribute("button1Label")); element = document.getElementById("cancel"); element.setAttribute("label", buttonlabels.getAttribute("button2Label"));