Upgraded highlight version to 9.1, removed highlight when sample is too long
This commit is contained in:
2
dist/lib/swagger-oauth.js
vendored
2
dist/lib/swagger-oauth.js
vendored
@@ -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'))
|
||||
|
||||
Reference in New Issue
Block a user