aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic/source/javascripts/octopress.js
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-09-27 00:57:45 -0500
committerBrandon Mathis <brandon@imathis.com>2011-09-27 00:58:07 -0500
commit04586299b178840ddb64268e925de6d8aadf16cb (patch)
treeb0e0b52fbf7fe2fc999da5254b70e60e51d251d9 /.themes/classic/source/javascripts/octopress.js
parent02433114c53d2fb95ebbda6179cd058c2057f142 (diff)
downloadmy_new_personal_website-04586299b178840ddb64268e925de6d8aadf16cb.tar.xz
my_new_personal_website-04586299b178840ddb64268e925de6d8aadf16cb.zip
fixed github line numbering issue, fixed a few bugs in code block styling
Diffstat (limited to '.themes/classic/source/javascripts/octopress.js')
-rw-r--r--.themes/classic/source/javascripts/octopress.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/.themes/classic/source/javascripts/octopress.js b/.themes/classic/source/javascripts/octopress.js
index c369625e..f6259f63 100644
--- a/.themes/classic/source/javascripts/octopress.js
+++ b/.themes/classic/source/javascripts/octopress.js
@@ -58,7 +58,7 @@ function addCodeLineNumbers() {
lineNumbers = '<pre class="line-numbers">',
tableMiddle = '</pre></td><td class="code">',
tableEnd = '</td></tr></tbody></table>',
- count = $('span.line', code).length;
+ count = $('.line', code).length;
for (var i=1;i<=count; i++) {
lineNumbers += '<span class="line-number">'+i+'</span>\n';
}