Skip to content

Conversation

niuage
Copy link
Member

@niuage niuage commented Mar 5, 2021

No description provided.

constructor: ->
unless $('html').hasClass('lt-ie9')
$(document).foundation()
$(document).foundation('reveal', { animationSpeed: 0 })
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's also an animation option, that can be set to 'none', but there's a bug in foundation where it makes it so that the modal cant be closed after you open it a second time. animationSpeed: 0 is a good enough workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant