Commit 3402691d authored by Jacob Schatz's avatar Jacob Schatz

Fixes previous dir bug.

parent 675864e2
......@@ -16,6 +16,7 @@ const RepoHelper = {
getLanguageForFile(file, langs) {
const ext = `.${file.name.split('.').pop()}`;
console.log('ext',ext,'ext')
let foundLang;
if(langs.some((l) => {
if(l.extensions && l.extensions.indexOf(ext) > -1) {
......
......@@ -2,7 +2,7 @@ const RepoPreviousDirectory = {
template: `
<tr>
<td colspan='3'>
<a :href='prevUrl' @click.prevent='linkClicked(prevurl)'>..</a>
<a :href='prevUrl' @click.prevent='linkClicked(prevUrl)'>..</a>
</td>
</tr>
`,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment