bootstrap-select
Version:
Bootstrap-select is a jQuery plugin that utilizes Bootstrap's dropdown.js to style and bring additional functionality to standard select elements.
21 lines (18 loc) • 443 B
JavaScript
/* 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();
});