Links in interactive map not working
I am trying to create an interactive map for our website to show infrastructure updates to our various locations. I have different buttons, however, I copy and pasted each button type. I have figured out how to link it but only one of each time of button works and it opens all the pages instead of just that specific facility's update page. Can someone help me???
Example of three of the facility button's code:
var _this = this;
_this.correctional.on('click', function(){
window.open('http://doc.ok.gov/bjcc-updates', '_blank');
});
var _this = this;
_this.correctional.on('click', function(){
window.open('http://doc.ok.gov/jccc-updates', '_blank');
});
var _this = this;
_this.correctional.on('click', function(){
window.open('http://doc.ok.gov/wskcc-updates', '_blank');
});
