We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
modal.toggle
modal.toggle passes an related target to hide:
hide
Modal.prototype.toggle = function (_relatedTarget) { return this[!this.isShown ? 'show' : 'hide'](_relatedTarget) }
But hide() accepts an event as argument:
hide()
Modal.prototype.hide = function (e) { if (e) e.preventDefault() e = $.Event('hide.bs.modal') this.$element.trigger(e)
Is this by design or not?
The text was updated successfully, but these errors were encountered:
Fix twbs#12845 - Modal#hide should only be called with an event argument
e9ada98
Addressed by #12850.
Sorry, something went wrong.
4e4e456
dae6a58
Closes twbs#12850
No branches or pull requests
modal.toggle
passes an related target tohide
:But
hide()
accepts an event as argument:Is this by design or not?
The text was updated successfully, but these errors were encountered: