From 995b8747c1a6dea1bd72198ee135647672fb1776 Mon Sep 17 00:00:00 2001 From: SolninjaA <51935570+SolninjaA@users.noreply.github.com> Date: Mon, 13 Jan 2025 17:29:43 +1000 Subject: [PATCH] Add comment back --- options.js | 1 + 1 file changed, 1 insertion(+) diff --git a/options.js b/options.js index 86b21b4..bac047a 100644 --- a/options.js +++ b/options.js @@ -68,6 +68,7 @@ hostKeyEle.oninput = (event) => { // Remove the "warning" class messageEle.classList.remove("warning"); } catch (err) { + // If the URL is NOT invalid because of a TypeError if (err.name !== "TypeError") { messageEle.classList.add("warning"); // Else, remove warning