First commit.

This commit is contained in:
Fredrik Jonsson 2017-03-09 14:26:46 +01:00
commit b7977e1c28

13
static/js/script.js Normal file
View file

@ -0,0 +1,13 @@
/**
* @file
* A JavaScript file for the theme.
*/
$(document).ready(function () {
if (window.matchMedia && $.isFunction($.fn.slicknav)) {
var mq = window.matchMedia("(max-width: 666px)");
if (mq.matches) {
$('.main-menu').hide().find('.navbar').filter(':first').slicknav();
}
}
});