mirror of
https://github.com/SolninjaA/Chhoto-URL-Extension.git
synced 2025-04-27 15:19:32 +10:00
Compare commits
2 Commits
c9ea5a03b3
...
888138e93b
Author | SHA1 | Date | |
---|---|---|---|
![]() |
888138e93b | ||
![]() |
d8bb73a81b |
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user