mirror of
https://codeberg.org/ashley/poke.git
synced 2025-06-07 13:43:07 -04:00
Update html/search.ejs
This commit is contained in:
parent
3f19854798
commit
afa738f8c2
1 changed files with 1 additions and 1 deletions
|
@ -1058,7 +1058,7 @@ function extractQueryFromUpsellMessage(message) {
|
||||||
askBtn.addEventListener('click', () => {
|
askBtn.addEventListener('click', () => {
|
||||||
const userQuery = prompt('What would you like to ask ChatGPT?');
|
const userQuery = prompt('What would you like to ask ChatGPT?');
|
||||||
if (userQuery) {
|
if (userQuery) {
|
||||||
window.location.href = `https://chatgpt.com/chat?query=${encodeURIComponent(userQuery)}`;
|
window.location.href = `https://chatgpt.com/?q=${encodeURIComponent(userQuery)}`;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
})();
|
})();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue