Index: chrome/content/ui/sendReport.js |
=================================================================== |
--- a/chrome/content/ui/sendReport.js |
+++ b/chrome/content/ui/sendReport.js |
@@ -1196,26 +1196,26 @@ function initWizard() |
function updateNextButton() |
{ |
let nextButton = document.documentElement.getButton("next"); |
if (!nextButton) |
return; |
if (document.documentElement.currentPage.id == "commentPage") |
{ |
- if (!nextButton.hasAttribute("_origLabel")) |
+ if (!("_origLabel" in nextButton)) |
{ |
nextButton._origLabel = nextButton.label; |
nextButton._origAccessKey = nextButton.accessKey; |
[nextButton.label, nextButton.accessKey] = Utils.splitLabel(document.documentElement.getAttribute("sendbuttonlabel")); |
} |
} |
else |
{ |
- if (nextButton.hasAttribute("_origLabel")) |
+ if ("_origLabel" in nextButton) |
{ |
nextButton.label = nextButton._origLabel; |
nextButton.accessKey = nextButton._origAccessKey; |
delete nextButton._origLabel; |
delete nextButton._origAccessKey; |
} |
} |
} |