You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
683 B
20 lines
683 B
// Off Canvas Sliding
|
|
$(document).ready(function(){
|
|
// Menu button click
|
|
$('#js-menu-trigger,#js-menu-screen').on('click touchstart', function(e){
|
|
// $('#js-body').toggleClass('no-scroll');
|
|
$('#js-menu, #js-menu-screen').toggleClass('is-visible');
|
|
$('#js-menu-trigger').toggleClass('slide close');
|
|
// $('#masthead, #page-wrapper').toggleClass('slide');
|
|
e.preventDefault();
|
|
});
|
|
});
|
|
|
|
// FitVids
|
|
$(document).ready(function(){
|
|
// Target your .container, .wrapper, .post, etc.
|
|
$("#main").fitVids();
|
|
});
|
|
|
|
// Table of Contents title. Change text to localize
|
|
$("#markdown-toc").prepend("<li><h6>{{ site.data.messages.locales[site.locale].overview }}</h6></li>");
|
|
|