mirror of
https://github.com/Daniongithub/ER-TPL.git
synced 2025-10-02 12:10:48 +00:00
Why opening on a new tab?
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user