mirror of
https://github.com/SolninjaA/Chhoto-URL-Extension.git
synced 2025-02-27 10:19:33 +10:00
Add comment back
This commit is contained in:
parent
39e3d0e582
commit
995b8747c1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user