change window.open to window.location

both the anchor tag and the javascript are interpreting the click, and
the problem is that your anchor tag is opening the link in the same
window, whereas your js was opening the link in a new window.

actually, pedalpete's solution is more correct (as there is now only
one item interpreting the click), and should be followed.

Reply via email to