diff --git a/chat/content/otr-add-fingerprint.js b/chat/content/otr-add-fingerprint.js index 901a3f9b3f..3e9eb5f5dd 100644 --- a/chat/content/otr-add-fingerprint.js +++ b/chat/content/otr-add-fingerprint.js @@ -70,7 +70,7 @@ var otrAddFinger = { this.fingerError.hidden = true; } - document.documentElement.getButton("accept").disabled = + document.getElementById("otrAddFingerDialog").getButton("accept").disabled = input.value && !input.validity.valid; this.keyCount.value = `${hex.length}/40`; diff --git a/chat/content/otr-add-fingerprint.xul b/chat/content/otr-add-fingerprint.xul index 4a6f49ae32..29f1e7e91b 100644 --- a/chat/content/otr-add-fingerprint.xul +++ b/chat/content/otr-add-fingerprint.xul @@ -6,59 +6,60 @@ - + - + xmlns:html="http://www.w3.org/1999/xhtml"> + - - - + + + - - - + + + -