Update script.js

This commit is contained in:
Sam Sneed 2024-05-28 16:16:39 +00:00 committed by GitHub
parent ba9ef44cfd
commit 4531e1565c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,7 +25,7 @@ const searchInput = document.getElementById('search-input');
searchButton.addEventListener('click', () => { searchButton.addEventListener('click', () => {
const searchTerm = searchInput.value; const searchTerm = searchInput.value;
if (searchTerm) { if (searchTerm) {
window.location.href = `https://search.sparksammy.com/search.php?q=${searchTerm}&p=0&t=0`; window.location.href = `https://search.brave.com/search?q=${searchTerm}`;
} else { } else {
alert('Please enter a search term.'); alert('Please enter a search term.');
} }