更新前端文件
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
/* Highlight */
|
||||
$( document ).ready(function() {
|
||||
hljs.initHighlightingOnLoad();
|
||||
$('table').addClass('table table-striped table-hover');
|
||||
$('pre').addClass('highlight');
|
||||
});
|
||||
|
||||
$('body').scrollspy({
|
||||
target: '.bs-sidebar',
|
||||
});
|
||||
|
||||
$('.bs-sidebar').affix({
|
||||
offset: {
|
||||
top: 210
|
||||
}
|
||||
});
|
||||
|
||||
/* Prevent disabled links from causing a page reload */
|
||||
$("li.disabled a").click(function() {
|
||||
event.preventDefault();
|
||||
});
|
||||
Reference in New Issue
Block a user