Bug 1546338 - Fix one instance of createElement that should be createXULElement. rs=bustage-fix
authorJorg K <jorgk@jorgk.com>
Fri, 24 May 2019 09:58:50 +0200
changeset 35679 eebe1c3a65ec5d5538e9e2be887e676df4e973d6
parent 35678 886769faf4ff2832b25274633c6e1e5a29ad7fcc
child 35680 a315856a66fa97d4485d94dd556cb01e0d5228db
push id392
push userclokep@gmail.com
push dateMon, 02 Sep 2019 20:17:19 +0000
reviewersbustage-fix
bugs1546338
Bug 1546338 - Fix one instance of createElement that should be createXULElement. rs=bustage-fix
mail/components/compose/content/MsgComposeCommands.js
--- a/mail/components/compose/content/MsgComposeCommands.js
+++ b/mail/components/compose/content/MsgComposeCommands.js
@@ -6882,17 +6882,17 @@ var gComposeNotificationBar = {
     gNotification.notificationbox.removeAllNotifications(true);
   },
 
   setIdentityWarning(aIdentityName) {
     if (!gNotification.notificationbox.getNotificationWithValue("identityWarning")) {
       let text = getComposeBundle().getString("identityWarning").split("%S");
       let label = new DocumentFragment();
       label.appendChild(document.createTextNode(text[0]));
-      label.appendChild(document.createElement("b"));
+      label.appendChild(document.createXULElement("b"));
       label.lastChild.appendChild(document.createTextNode(aIdentityName));
       label.appendChild(document.createTextNode(text[1]));
       gNotification.notificationbox.appendNotification(label, "identityWarning", null,
         gNotification.notificationbox.PRIORITY_WARNING_HIGH, null);
     }
   },
 
   clearIdentityWarning() {