AnsweredAssumed Answered

Remove target="_blank" from header link

Question asked by mattatdsite on Nov 1, 2017
Latest reply on Nov 7, 2017 by ressinger-esristaff

This seems like something that should be so easy.

 

I'm downloading and self-hosting a Story Map Tour app, but not compiling it myself. I'd like to change the customizable link in the upper right of the header (the one with "A story map" as the default text) so that it doesn't open in a new window. 

 

I've gone into index.html and removed the target="_blank" from the .msLink a tag. But that didn't do the trick.

 

I dug through maptour-builder-min.js and found a place where .social .msLink was being set with a target="_blank" so I removed the target there. But that didn't do the trick.

 

If it's being set somewhere else, I can't seem to find it in the files I have access to.

 

I've tried to figure out how to use custom javascript within the index.html page, but I'm not very familiar with Dojo, and I'm having trouble figuring out how to target the updated link to remove the "target" attribute.

 

So I thought I'd ask here. Any suggestions? 

Outcomes