1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-12-25 02:36:16 +01:00
This commit is contained in:
Matthias Kretschmann 2015-11-19 16:22:17 +01:00
parent 4ff9933102
commit fb8ffdc9ed
2 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,4 @@
var Menu = { var s, Menu = {
settings: { settings: {
thesite: $('.site'), thesite: $('.site'),
@ -7,11 +7,12 @@ var Menu = {
}, },
init: function() { init: function() {
s = this.settings;
this.menuShow(); this.menuShow();
}, },
menuShow: function() { menuShow: function() {
var s = this.settings;
s.thelink.on('click', function(e) { s.thelink.on('click', function(e) {
e.preventDefault(); e.preventDefault();

View File

@ -13,7 +13,7 @@
//=include _menu.js //=include _menu.js
//=include _search.js //=include _search.js
jQuery(function($) { (function() {
// //
// init modules // init modules
@ -25,4 +25,4 @@ jQuery(function($) {
nosvg: false nosvg: false
}); });
}); }());