Fix casing in av jump

This commit is contained in:
the1812 2020-03-22 10:53:43 +08:00
parent ecec8ccadb
commit 72827b6758
8 changed files with 9 additions and 9 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -42,7 +42,7 @@
"custom-navbar-iframe.min.js": "DBE5844C2AA36057DBD33BBC5724D7D7F881AB15EC45A80228961942CD810A32",
"custom-navbar-logo.min.js": "236CCC887A3917A6D4840889B7380B648197765B8CDA27CB233F3F1E3215F7BB",
"custom-navbar-messages.min.js": "D7B315A4D8FD9E2EF9C1E40C1F3CA7EC18C5A87AC7A9410049061A0D851868DE",
"custom-navbar-search-box.min.js": "79711ACD86A3F483E643252C9C1BD13F1D37E3B9E2DD90802A9A0E07A470DF8D",
"custom-navbar-search-box.min.js": "669774028A01B05A995FB9F64DD75F99F4EF4AF170A48DD3C3543D678AE7F2D9",
"custom-navbar-settings.min.js": "474924B0C90EE6B3DF924D73DFD02DFC2BCF5BAD1F6A4E539A6263D3A751506C",
"custom-navbar-simple-link.min.js": "0960197FB525733551435B07D7B024272C21BDD2D8B4F47027046FCE7B3468C5",
"custom-navbar-subscriptions.min.js": "8664608EA96BA5E3CC0202F3ED095823B8D2A3DFCDC6D87C192FEA652D0DD554",

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -111,7 +111,7 @@ export class SearchBox extends NavbarComponent {
return false
}
if (/^av[\d]+$/i.test(keywordInput.value)) {
window.open(`https://www.bilibili.com/${keywordInput.value}`, '_blank')
window.open(`https://www.bilibili.com/${keywordInput.value.toLowerCase()}`, '_blank')
e.preventDefault()
return false
}