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

Commit

Permalink
Merge pull request #10652 from mellolikejello/collapse
Browse files Browse the repository at this point in the history
#10574  Adjust file tree click behavior, don't collapse parent folder
  • Loading branch information
nethip committed Mar 5, 2015
2 parents 0e98ff3 + 0f4556e commit 5119729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/project/FileTreeView.js
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ define(function (require, exports, module) {
* If you click on a directory, it will toggle between open and closed.
*/
handleClick: function (event) {
if (event.button !== LEFT_MOUSE_BUTTON) {
if (event.button !== LEFT_MOUSE_BUTTON || event.target.localName === "ul") {
return;
}

Expand Down

0 comments on commit 5119729

Please sign in to comment.