custom links for projects
-
Hey,
I use the custom link tool for projects, but the links only get open in a new tab. Is there any way to prevent that or is it a bug?
Best, Paul
-
hello! can you post the website address where you see the issue? and please a screenshot of which link exactly?
-
For sure! It is the Project 027.2 with the link https://paul-juergens.eu/027-1-stadtlabor-richtsberg/#poster

https://paul-juergens.eu/027-1-stadtlabor-richtsberg/#poster
-
fixed it with some javascript
document.addEventListener('DOMContentLoaded', function() {
document.querySelectorAll('a[target="_blank"]').forEach(function(link) {
if (link.hostname === window.location.hostname) {
link.removeAttribute('target');
}
});
}); -
ah the website is online!! its so good!
ah now i understand what link you mean,

it will have a checkbox for open in new tab