Commit: 4974d0d29e19bc4a597dafd831c03377bb54e1b4
Author: Nate Abele | Date: 2010-03-08 23:23:10 -0500
diff --git a/views/layouts/default.html.php b/views/layouts/default.html.php
index 345b33c..c6abbdb 100644
--- a/views/layouts/default.html.php
+++ b/views/layouts/default.html.php
@@ -66,9 +66,9 @@
$('pre.source-code').hide();
$('.source-toggle').bind('click', function() {
- visible = $('pre.source-code').is(':visible');
+ visible = $('pre code').is(':visible');
$(this).text((visible ? 'Show' : 'Hide') + ' source');
- visible ? $('pre.source-code').slideUp() : $('pre.source-code').slideDown();
+ visible ? $('pre code').slideUp() : $('pre code').slideDown();
});
hljs.initHighlightingOnLoad();
});