summaryrefslogtreecommitdiffstats
path: root/public/js
diff options
context:
space:
mode:
authorslene <vslene@gmail.com>2014-03-20 23:55:27 +0800
committerslene <vslene@gmail.com>2014-03-20 23:55:27 +0800
commit686348974b1a1f6f11cab5244df2362f99e0a124 (patch)
tree288ff7cb513fb6e5b0d1b3a48a23c86a5b52823f /public/js
parent28b4b6c9d558e340ca8a2e53ec5d729760738305 (diff)
downloadgitea-686348974b1a1f6f11cab5244df2362f99e0a124.tar.gz
gitea-686348974b1a1f6f11cab5244df2362f99e0a124.zip
fix code style
Diffstat (limited to 'public/js')
-rw-r--r--public/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/app.js b/public/js/app.js
index 9a5a0d68ad..a264fc94eb 100644
--- a/public/js/app.js
+++ b/public/js/app.js
@@ -68,7 +68,7 @@ var Gogits = {
Gogits.renderMarkdown = function () {
var $md = $('.markdown');
var $pre = $md.find('pre > code').parent();
- $pre.addClass('prettyprint');
+ $pre.addClass('prettyprint linenums');
prettyPrint();
var $lineNums = $pre.parent().siblings('.lines-num');