jekyll-theme-noesya 1.1.4 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/js/menu-burger.js +3 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 63cced3842a096b4c2e262a004a843d0d19d407e9c4d5ad2cbf33373d77a3d5f
|
4
|
+
data.tar.gz: 1aaa964183956fa6941f8c2779b31fc46687965e0837d65b56c6a69603ccd752
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6838ee8fbc1642bcb98d26a6e5059965357470c977cd6517bacc8985fe19540362729b66b299f2ff11fc5b2b7978b0093a6f9fa23ca9ade103dd663dff787383
|
7
|
+
data.tar.gz: 6d1b13810f138cd12c052b1a5bbfd6c5704efe8ba1b5ed00967e1ff4919ce333484ffb6a4ba060e9f2e7387708aa9faf734831f644453fefeeef69cd16ef7023
|
data/_includes/js/menu-burger.js
CHANGED
@@ -38,9 +38,10 @@ window.menu = {
|
|
38
38
|
},
|
39
39
|
scroll: function () {
|
40
40
|
'use strict';
|
41
|
-
var y = window.scrollY
|
41
|
+
var y = window.scrollY,
|
42
|
+
mainHeight = document.querySelector('main').offsetHeight;
|
42
43
|
|
43
|
-
if (y > window.innerHeight
|
44
|
+
if (y > 100 || mainHeight < window.innerHeight) {
|
44
45
|
this.footer.classList.add('is-visible');
|
45
46
|
} else {
|
46
47
|
this.footer.classList.remove('is-visible');
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-noesya
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sébastien Moulène
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2023-
|
13
|
+
date: 2023-06-12 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: jekyll
|