Skip to content

Instantly share code, notes, and snippets.

@CodySwannGT
Created April 2, 2015 15:11
Show Gist options
  • Save CodySwannGT/8f9b2cd2626b25d8cdf1 to your computer and use it in GitHub Desktop.
Save CodySwannGT/8f9b2cd2626b25d8cdf1 to your computer and use it in GitHub Desktop.
$(function(){
if(location.hash == "#open_modal") {
$("whatever-the-link-element-is").trigger('click')
}
})
//url would look something like: http://qualismanagement.com/orders/#open_modal
@DaryMerckensGT
Copy link

Solid, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment