Why opening on a new tab?
This commit is contained in:
parent
43e87cc813
commit
839e0bc32c
|
@ -14,7 +14,10 @@
|
|||
<header>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="index.html"><h1 style="font-size: 100%;font-weight: 500;">Home</h1></a></li>
|
||||
<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>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue