Why opening on a new tab?

This commit is contained in:
2025-07-28 08:03:56 +02:00
parent 43e87cc813
commit 839e0bc32c
2 changed files with 5 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ function populateSearchResults(results, selectedOption) {
div.addEventListener('click', () => {
const url = `fermata.html?palina=${encodeURIComponent(item.palina)}&targetID=${encodeURIComponent(item.targetID)}&selectedOption=${encodeURIComponent(selectedOption)}`;
window.open(url, '_blank');
window.open(url, '_self');
});
searchResultsContainer.appendChild(div);