mirror of
https://github.com/levywang/avhub.git
synced 2026-02-21 08:47:22 +08:00
Update script.js
This commit is contained in:
parent
b7355137e9
commit
d917da36ef
@ -61,11 +61,11 @@ const API_CONFIG = {
|
||||
|
||||
async function searchMagnet() {
|
||||
|
||||
const input = document.getElementById('searchInput').value.replace(/\s+/g, '');
|
||||
const input = document.getElementById('searchInput');
|
||||
|
||||
const resultsDiv = document.getElementById('searchResults');
|
||||
|
||||
const searchTerm = input.value.trim();
|
||||
const searchTerm = input.value.replace(/\s+/g, '').trim();
|
||||
|
||||
const notification = document.getElementById('notification');
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user