Skip to content

Commit

Permalink
Attempt to fix bug #18
Browse files Browse the repository at this point in the history
  • Loading branch information
oriolmirosa committed Jun 9, 2017
1 parent 5914249 commit 8d8d4ee
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.7.2

- Attemp to fix bug [#18](https://github.com/oriolmirosa/open-files/issues/18)

## 0.7.1

- Added a donation button to the readme page
Expand Down
3 changes: 3 additions & 0 deletions lib/open-files-pane-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ export default class OpenFilesPaneView {
var itemPath
try {
itemPath = item.getPath()
if (itemPath == null) {
itemPath = ''
}
listItemName.setAttribute('data-path', itemPath);
if (addIconToElement) {
listItemName.classList.remove('icon-file-text');
Expand Down

0 comments on commit 8d8d4ee

Please sign in to comment.