Jump to content
Communities.Management

Prevent Modals for specific Invision Community Links


Daniel

Recommended Posts

There's an easy way to disable specific modals in your invasion community software =>

Instead of changing the template, one can use JavaScript to remove the modal attribute:) 

 

<script>
  	// Remove modal effect from New Request buttons
	document.querySelectorAll('[data-ipsdialog][href$="/support/create/"]').forEach( el => { el.removeAttribute('data-ipsdialog'); });
</script>

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.