Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Clicking project-dropdown-toggle again closes the dropdown #5435

Merged
merged 1 commit into from
Oct 21, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/extensions/default/RecentProjects/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,11 @@ define(function (require, exports, module) {
// Have to do this stopProp to avoid the html click handler from firing when this returns.
e.stopPropagation();

showDropdown();
if ($dropdown) {
closeDropdown(); //close if it's already visible
} else {
showDropdown();
}
}

/**
Expand Down