Upgraded highlight version to 9.1, removed highlight when sample is too long

This commit is contained in:
Anna Bodnia
2016-02-09 15:16:07 +02:00
parent 312eeef8e5
commit 14124c729b
17 changed files with 404 additions and 30 deletions

View File

@@ -212,7 +212,7 @@ function initOAuth(opts) {
return;
}
//$('pre code').each(function(i, e) {hljs.highlightBlock(e)});
$('pre code').each(function(i, e) {hljs.highlightBlock(e)});
$('.api-ic').unbind();
$('.api-ic').click(function(s) {
if($(s.target).hasClass('ic-off'))