diff --git a/lib/label-view.coffee b/lib/label-view.coffee index 40646eb..27292f8 100644 --- a/lib/label-view.coffee +++ b/lib/label-view.coffee @@ -23,7 +23,7 @@ class LabelView extends SelectListView while(match = texRootRex.exec(@editor.getText())) absolutFilePath = FindLabels.getAbsolutePath(activePaneItemPath,match[4]) basePath = pathModule.dirname(absolutFilePath) - labels = ListLabels.fromDir(basePath, /\.tex$/) + labels = ListLabels.fromDir(basePath, /\.tex$/); @setItems(labels) @panel ?= atom.workspace.addModalPanel(item: this) @panel.show() @@ -40,7 +40,7 @@ class LabelView extends SelectListView "label" viewForItem: ({label}) -> - "
  • #{label}
  • " + "
  • #{label}
  • " confirmed: ({label}) -> @editor.insertText label