Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
LianaHus committed Sep 30, 2019
1 parent 4a5ede2 commit c14921f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/files/file-explorer.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ function fileExplorer (localRegistry, files, menuItems) {
})

/**
* Extracts furst two folders as a subpath from the path.
* Extracts first two folders as a subpath from the path.
**/
function extractExternalFolder (path) {
const firstSlIndex = path.indexOf('/', 1)
Expand All @@ -200,6 +200,7 @@ function fileExplorer (localRegistry, files, menuItems) {
if (secondSlIndex === -1) return ''
return path.substring(0, secondSlIndex)
}

self.treeView.event.register('nodeRightClick', function (key, data, label, event) {
if (self.files.readonly) return
if (key === self.files.type) return
Expand Down

0 comments on commit c14921f

Please sign in to comment.