From d8bbc7858622b6d9c278469aab701ca0b609cddf Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 15 May 2024 05:35:49 +0200 Subject: Merging upstream version 126.0. Signed-off-by: Daniel Baumann --- toolkit/content/aboutNetError.mjs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'toolkit/content/aboutNetError.mjs') diff --git a/toolkit/content/aboutNetError.mjs b/toolkit/content/aboutNetError.mjs index 554553fd62..1c733d5dbb 100644 --- a/toolkit/content/aboutNetError.mjs +++ b/toolkit/content/aboutNetError.mjs @@ -498,7 +498,7 @@ function initPage() { trrExceptionButton.addEventListener("click", () => { RPMSendQuery("Browser:AddTRRExcludedDomain", { hostname: HOST_NAME, - }).then(msg => { + }).then(() => { retryThis(trrExceptionButton); }); }); @@ -1061,15 +1061,15 @@ function addCertException() { () => { location.reload(); }, - err => {} + () => {} ); } -function onReturnButtonClick(e) { +function onReturnButtonClick() { RPMSendAsyncMessage("Browser:SSLErrorGoBack"); } -function copyPEMToClipboard(e) { +function copyPEMToClipboard() { const errorText = document.getElementById("certificateErrorText"); navigator.clipboard.writeText(errorText.textContent); } -- cgit v1.2.3