mirror of
https://github.com/the-spellman/homepage
synced 2024-12-23 09:42:29 -06: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', () => {
|
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.');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue