word-games-theme 1.4.7 → 1.4.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4a31e99d2af002ceff70735d18ca47b53685aa42b68966e65ed012fe5682405e
4
- data.tar.gz: 5125fd2de9407b60ab682360db16e5d6095413bdaea7462065434c104ca63bc5
3
+ metadata.gz: c7b3a1a1b7368d9db8ded4833d615bb83e9eea5b0ab4631ccfa183fd92a7ee54
4
+ data.tar.gz: b1c424956a3b04bc63601fdfe82d113d80d6356e747da0ea06e3dcf10f79ef57
5
5
  SHA512:
6
- metadata.gz: 69cc24d7caaf3429fa3da6a5b1e36e499c9c4f703d24a4fd8cd50faf1d6ad0a41dbcd613ebfdb7ee0e433e67113f3ed481a4cc1b389566902f486f54537eb91f
7
- data.tar.gz: 883d3b2927ceac65ac88e84a40ff89b1d35db0470ece474644414ab10bbc225fceea6763ddcf04e9c70cba73ad2d8714dbedde8caea50843717cdb1b640b6f3f
6
+ metadata.gz: eba4f6ce252c95d8612e2730e1e08abb7935ba9318c7ff0be35627939f53161a4a45e2ca6567e31b52e2c190ed748cc23c51f77e646ab611b558d3dae2e83483
7
+ data.tar.gz: 22813165e16425c575bdbc0082b9c73429ce091ee81c2ba0588c4713c8594a83258512c21b628fd3299d17cc7b0b314caaafbbb314028b7c47cdb822e0f01ebf
@@ -81,12 +81,10 @@
81
81
  function myFunction(x) {
82
82
  if (x.matches) {
83
83
  txtBox.addEventListener("click", () => {
84
- const scrollingElement = (document.scrollingElement || document.body || document.documentElement);
85
- scrollingElement.scroll({ top: 150, behavior: 'smooth' });
86
-
84
+ document.documentElement.scrollTop = 200
87
85
  setTimeout(() => {
88
- scrollingElement.scroll({ top: 150, behavior: 'smooth' });
89
- }, 100);
86
+ document.documentElement.scrollTop = 200
87
+ }, 150);
90
88
  })
91
89
  } else {
92
90
  console.log("false");
@@ -77,8 +77,10 @@ txtBox.addEventListener('input', (e) => {
77
77
  function myFunction(x) {
78
78
  if (x.matches) {
79
79
  txtBox.addEventListener("click", () => {
80
- const scrollingElement = (document.scrollingElement || document.body || document.documentElement);
81
- scrollingElement.scroll({ top: 150, behavior: 'smooth' });
80
+ document.documentElement.scrollTop = 200
81
+ setTimeout(() => {
82
+ document.documentElement.scrollTop = 200
83
+ }, 150);
82
84
  })
83
85
  } else {
84
86
  console.log("false");
@@ -56,12 +56,11 @@ txtBox.value = serachValue
56
56
  function myFunction(x) {
57
57
  if (x.matches) {
58
58
  txtBox.addEventListener("click", () => {
59
- const scrollingElement = (document.scrollingElement || document.body || document.documentElement);
60
- scrollingElement.scroll({ top: 150, behavior: 'smooth' });
59
+ document.documentElement.scrollTop = 200
61
60
 
62
61
  setTimeout(() => {
63
- scrollingElement.scroll({ top: 150, behavior: 'smooth' });
64
- }, 100);
62
+ document.documentElement.scrollTop = 200
63
+ }, 150);
65
64
  })
66
65
  } else {
67
66
  console.log("false");
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: word-games-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.7
4
+ version: 1.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - manpreet-appscms
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-01 00:00:00.000000000 Z
11
+ date: 2022-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll