I call two window.open, but only the first one seems to be working. What is going on there?
<button id="open-two">Open two windows</button>
var openTwo = document.getElementById("open-two");
openTwo.addEventListener("click", function() {
window.open("http://bing.com");
window.open("http://google.com");
});
A fiddle here
I am using Chrome when testing this.