summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--frontend/index.html7
1 files changed, 3 insertions, 4 deletions
diff --git a/frontend/index.html b/frontend/index.html
index 47060ab..f0284eb 100644
--- a/frontend/index.html
+++ b/frontend/index.html
@@ -74,9 +74,9 @@
}
else if(res['loctype'] == "file"){
- leftClass = "language-go"
+ leftClass = "none"
res['text'].forEach((a, i)=>{
- text += '<div class="col-xs-5 code" id="code-'+i+'"><pre><code class="language-go">'+a[0]+'</code></pre></div>'
+ text += '<div class="col-xs-5 code" id="code-'+i+'"><pre><code class="none">'+a[0]+'</code></pre></div>'
text += '<div class="col-xs-5 summary" id="summary-"'+i+'><p>'+a[1]+'</p></div>'
})
}
@@ -99,7 +99,7 @@
$("#spinny").hide();
text = ""
data.forEach((a, i)=>{
- text += '<div class="col-xs-5 code" id="code-'+i+'"><pre><code class="language-go">'+a['blob']+'</code></pre></div>'
+ text += '<div class="col-xs-5 code" id="code-'+i+'"><pre><code class="none">'+a['blob']+'</code></pre></div>'
text += '<div class="col-xs-5 summary" id="summary-"'+i+'><p>'+a['summary']+'</p></div>'
})
$("#main").html(text);
@@ -127,6 +127,5 @@
})
</script>
- <script src="./jsmain.js"></script>
</body>
</html>