Reputation: 3802
All links are opening in a new tab/window from my web application. I tested from Chrome and Firefox, same behavior for both. I can't debug it. can anybody tell me the possible reasons and ways to debug it?
I am not using any target="blank" with the links, also I confirmed that no script is adding it to the DOM dynamically.
Thanks in advance.
Upvotes: 0
Views: 49
Reputation: 3802
Finally found the issue.
Inside the head tag, I was written another tag like,
<base href="/" target="_blank">
which defaults all links to open in target="_blank". If I say target="_self" the issue goes away.
Upvotes: 1