mirror of
https://github.com/SolninjaA/Chhoto-URL-Extension.git
synced 2025-04-27 15:19:32 +10:00
v1.2.0 - Change innerHTML to innerText
This commit is contained in:
parent
ebe07d8f8b
commit
7cc4710e45
@ -81,10 +81,10 @@ shortURLEle.oninput = (event) => {
|
||||
// And if the configured host is not undefined
|
||||
if (chhotoHost !== undefined) {
|
||||
// Inform the user
|
||||
messageEle.innerHTML = `The short URL will be generated as: ${chhotoHost}/${shortURLText}.`;
|
||||
messageEle.innerText = `The short URL will be generated as: ${chhotoHost}/${shortURLText}.`;
|
||||
} else {
|
||||
// If the configured host is undefined
|
||||
messageEle.innerHTML = "The Chhoto URL host has not been configured. Cannot generate shortened URL.";
|
||||
messageEle.innerText = "The Chhoto URL host has not been configured. Cannot generate shortened URL.";
|
||||
}
|
||||
|
||||
// Set the short URL
|
||||
|
Loading…
Reference in New Issue
Block a user