mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-13 16:45:14 +01:00
fix js
This commit is contained in:
parent
4ff9933102
commit
fb8ffdc9ed
@ -1,4 +1,4 @@
|
||||
var Menu = {
|
||||
var s, Menu = {
|
||||
|
||||
settings: {
|
||||
thesite: $('.site'),
|
||||
@ -7,11 +7,12 @@ var Menu = {
|
||||
},
|
||||
|
||||
init: function() {
|
||||
s = this.settings;
|
||||
this.menuShow();
|
||||
},
|
||||
|
||||
menuShow: function() {
|
||||
var s = this.settings;
|
||||
|
||||
s.thelink.on('click', function(e) {
|
||||
e.preventDefault();
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
//=include _menu.js
|
||||
//=include _search.js
|
||||
|
||||
jQuery(function($) {
|
||||
(function() {
|
||||
|
||||
//
|
||||
// init modules
|
||||
@ -25,4 +25,4 @@ jQuery(function($) {
|
||||
nosvg: false
|
||||
});
|
||||
|
||||
});
|
||||
}());
|
||||
|
Loading…
Reference in New Issue
Block a user