mirror of
https://github.com/SolninjaA/Chhoto-URL-Extension.git
synced 2026-10-28 16:18:30 +10:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
888138e93b | ||
|
|
d8bb73a81b |
+1
-1
@@ -55,7 +55,7 @@ hostKeyEle.oninput = (event) => {
|
||||
}
|
||||
|
||||
// Get the Chhoto URL host
|
||||
const chhotoHost = hostKeyEle.value;
|
||||
const chhotoHost = hostKeyEle.value.replace(/\/$/, '');
|
||||
|
||||
// Catch the exception from the URL constructor
|
||||
// (this always activates because as the user begins typing, the URL is invalid)
|
||||
|
||||
Reference in new issue
Block a user