Skip to content

Commit

Permalink
Issue #738. We only want to *close* the dropdown, not open it when cl…
Browse files Browse the repository at this point in the history
…icking outside.
  • Loading branch information
Mike Taylor committed Oct 2, 2015
1 parent 00c885d commit d27efba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webcompat/static/js/lib/homepage.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function HomePage() {
// close dropdown if you click "outside"
$(document).on('click', function(e) {
if (!$(e.target).closest(navDropDown).length) {
navDropDown.toggleClass('is-active');
navDropDown.removeClass('is-active');
}
});
};
Expand Down

0 comments on commit d27efba

Please sign in to comment.