Question

I have next html code, to open a link into a new window:

<a rel="nueva_ventana" href="http://www.google.es">
</a>

When I click on it, it opens the same page twice, in two new windows.. which could be the problem?(I just want it to open once) Thanks!

Was it helpful?

Solution

Sorry, problem solved, I was importing twice my commons.js, where I was executing the rel="nueva_ventana"... so that it opened twice, thank you all!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top