fixed 弹幕修复 bug
This commit is contained in:
1 parent
12b0662b21
commit
334ee4ee55
11 files changed
+446
-139
No files matched your search
@@ -149,6 +149,14 @@ function initInlineSearch() {
|
||||
input.parentNode.replaceChild(newInput, input);
|
||||
input = newInput;
|
||||
|
||||
// Handle Search Icon Click (Focus input)
|
||||
var searchIcon = searchContainer.querySelector('.search-icon');
|
||||
if (searchIcon) {
|
||||
searchIcon.addEventListener('click', function() {
|
||||
input.focus();
|
||||
});
|
||||
}
|
||||
|
||||
// Handle Close Icon Logic
|
||||
var closeIcon = searchContainer.querySelector('.close-icon');
|
||||
if (closeIcon) {
|
||||
|
||||
Reference in new issue
Block a user