Revert "Why opening on a new tab?"

This reverts commit 839e0bc32c.
This commit is contained in:
Curry141 2025-07-28 10:08:59 +02:00
parent 839e0bc32c
commit 49d0a7fad4
2 changed files with 2 additions and 5 deletions

View File

@ -14,10 +14,7 @@
<header>
<nav>
<ul>
<li><a href="/index.html"><h1 style="font-size: 100%;font-weight: 500;">Home</h1></a></li>
<li><a href="/ravenna_menu/ravenna.html"><h1 style="font-size: 100%;font-weight: 500;">Ravenna</h1></a></li>
<li><a href="/start_menu/start.html"><h1 style="font-size: 100%;font-weight: 500;">START Romagna</h1></a></li>
<li><a href="index.html"><h1 style="font-size: 100%;font-weight: 500;">Visualizzatore fermate</h1></a></li>
<li><a href="index.html"><h1 style="font-size: 100%;font-weight: 500;">Home</h1></a></li>
</ul>
</nav>
</header>

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, '_self');
window.open(url, '_blank');
});
searchResultsContainer.appendChild(div);