First commit.
This commit is contained in:
commit
b7977e1c28
1 changed files with 28081 additions and 0 deletions
13
static/js/script.js
Normal file
13
static/js/script.js
Normal 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();
|
||||
}
|
||||
}
|
||||
});
|
||||
Loading…
Reference in a new issue