Seongjae Lee
2015-09-11 22:51:03 -07:00
parent 273d506f38
commit 40e785ef57
+2 -2
View File
@@ -75,8 +75,8 @@ class NotationalVelocityView extends SelectListView
@div class: 'secondary-line', "#{content}"
confirmSelection: ->
item = @getSelectedItem()
filePath = null
item = @getSelectedItem()
filePath = null
sanitizedQuery = @getFilterQuery().replace(/\s+$/, '')
calculatedPath = path.join(@rootDirectory, sanitizedQuery + '.md')
if item?