• Resolved richissa

    (@richissa)


    I am using my Buy/Download button as an Add To Cart button. No matter what I do, every time I click the button, a new window is opened. I can see that the code on the page specifies “target=_blank” but I can’t find where to change this in the plugin files. It is driving me insane. I would just like the target on the button to be _self. How can I do this?

    http://ww.wp.xz.cn/extend/plugins/html5-jquery-audio-player/

Viewing 1 replies (of 1 total)
  • Thread Starter richissa

    (@richissa)

    Nevermind. I was trying to change the line
    '<a href="#" class="buy not-active" target="_blank"></a>' +
    to
    '<a href="#" class="buy not-active" target="_self"></a>' +
    in the file ttw-music-player.js, but not the ttw-music-player-min.js file.

    So for anyone who has the same problem, change the “_blank” to “_self” in the ttw-music-player-min.js file.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: HTML5 jQuery Audio Player] Problem: Buy Button Opens in New window’ is closed to new replies.