Skip to content

Commit

Permalink
Issue 1508, fix adobe#2 after initial review.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffrey Fisher committed Oct 25, 2012
1 parent addfb53 commit d36b461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extensions/default/RecentProjects/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ define(function (require, exports, module) {
lastSlash = path.slice(0, path.length - 1).lastIndexOf("/");
}
if (lastSlash >= 0) {
rest = " - " + path.slice(0, lastSlash);
rest = rest = " - " + (lastSlash ? path.slice(0, lastSlash) : "/");
folder = path.slice(lastSlash + 1);
} else {
rest = "/";
Expand Down

0 comments on commit d36b461

Please sign in to comment.