I have a functioning modal link that is clickable from a certain page in my views:
<a href="#" data-toggle="modal" data-target="#manifesto-modal">Manifesto & Rules</a>
In addition to it being clickable on this page, I would like it to be displayed by default upon redirect to this page. I haven’t found a great approach to coding this from the controller or otherwise, but can’t imagine it would require too much. Input is appreciated!
I solved this problem with this JavaScript. It’s probably not the best approach and I’d be interested to hear peoples’ thoughts on it: