mirror of
https://github.com/the-spellman/homepage
synced 2024-10-29 23:27:51 +00:00
Update script.js
This commit is contained in:
parent
ba9ef44cfd
commit
4531e1565c
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ const searchInput = document.getElementById('search-input');
|
|||
searchButton.addEventListener('click', () => {
|
||||
const searchTerm = searchInput.value;
|
||||
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 {
|
||||
alert('Please enter a search term.');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue