Skip to content
New issue

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

Fix trigger shown and hidden events for dropdown #16865

Closed
wants to merge 1 commit into from
Closed

Fix trigger shown and hidden events for dropdown #16865

wants to merge 1 commit into from

Conversation

Johann-S
Copy link
Member

Hi,

it's a fix for #16828

Thanks to @DaGLiMiOuX

@twbs-savage
Copy link

Tests passed. Automated cross-browser testing via Sauce Labs and Travis CI shows that the JavaScript changes in this pull request are: CONFIRMED

Commit: 98ccf83677b997b86c7ca141802e90a6e023ed94
Build details: https://travis-ci.org/twbs-savage/bootstrap/builds/72183457

(Please note that this is a fully automated comment.)

@@ -51,7 +51,7 @@
if (e.isDefaultPrevented()) return

$this.attr('aria-expanded', 'false')
$parent.removeClass('open').trigger('hidden.bs.dropdown', relatedTarget)
$parent.removeClass('open').trigger(e = $.Event('hidden.bs.dropdown', relatedTarget))
Copy link
Collaborator

Choose a reason for hiding this comment

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

The e = is unnecessary.

@cvrebert cvrebert added the js label Jul 24, 2015
@twbs-savage
Copy link

Tests passed. Automated cross-browser testing via Sauce Labs and Travis CI shows that the JavaScript changes in this pull request are: CONFIRMED

Commit: 6aafcfb
Build details: https://travis-ci.org/twbs-savage/bootstrap/builds/72423124

(Please note that this is a fully automated comment.)

@Johann-S
Copy link
Member Author

Thanks @cvrebert for your feedbacks :shipit:

@cvrebert cvrebert added this to the v3.3.6 milestone Jul 27, 2015
@cvrebert cvrebert closed this in ef1ce9a Jul 27, 2015
@mdo mdo mentioned this pull request Jul 27, 2015
@cvrebert
Copy link
Collaborator

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

3 participants