mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Fix bug in navbar search
This commit is contained in:
parent
1e543d0e13
commit
76ead03486
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
min/custom-navbar.min.js
vendored
2
min/custom-navbar.min.js
vendored
File diff suppressed because one or more lines are too long
@ -528,8 +528,8 @@ class SearchBox extends NavbarComponent
|
||||
this.disabled = true;
|
||||
this.html = /*html*/`
|
||||
<form id="custom-navbar-search" autocomplete="off" target="_blank" method="get" action="https://search.bilibili.com/all">
|
||||
<input type="hidden" name="from_source" value="banner_search">
|
||||
<input type="text" placeholder="搜索" name="keyword">
|
||||
<input type="hidden" name="from_source" value="banner_search">
|
||||
<a style="display: none" target="_blank" class="recommended-target"></a>
|
||||
<button type="submit" title="搜索">
|
||||
<svg style="width:22px;height:22px" viewBox="0 0 24 24">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user