mirror of
https://codeberg.org/emersion/gamja.git
synced 2024-11-14 19:05:01 -05:00
lib/irc: fix assignment to undefined variable in isURIPrefix
This commit is contained in:
parent
57f7b1c011
commit
2fe2ce6912
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ function isURIPrefix(text) {
|
|||
}
|
||||
}
|
||||
|
||||
i = text.indexOf("://");
|
||||
let i = text.indexOf("://");
|
||||
if (i <= 0) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue