word-games-theme 1.4.8 → 1.4.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c7b3a1a1b7368d9db8ded4833d615bb83e9eea5b0ab4631ccfa183fd92a7ee54
4
- data.tar.gz: b1c424956a3b04bc63601fdfe82d113d80d6356e747da0ea06e3dcf10f79ef57
3
+ metadata.gz: b9fffe856bd766f84972f8dec3c4bf6901e0bcdf25c6f78531b474ff32232c9c
4
+ data.tar.gz: 06c2d03e32506fdd2f5c18e97fc2684139820c88f6659b4ee92b8ac20157747b
5
5
  SHA512:
6
- metadata.gz: eba4f6ce252c95d8612e2730e1e08abb7935ba9318c7ff0be35627939f53161a4a45e2ca6567e31b52e2c190ed748cc23c51f77e646ab611b558d3dae2e83483
7
- data.tar.gz: 22813165e16425c575bdbc0082b9c73429ce091ee81c2ba0588c4713c8594a83258512c21b628fd3299d17cc7b0b314caaafbbb314028b7c47cdb822e0f01ebf
6
+ metadata.gz: 0fac51f7162dcf247d11f263ec393fe5591c0f5168813f577f787f287cb004f414369488cdf9b3059a51131dd85e912a9d11597f59ef2f3295914aad0799188c
7
+ data.tar.gz: 585e9a9acf17af2eefa56a46168922b577c8b678d8298a31180a61d60f69983e3a9ab89855ca45d106db92766bfbe3fd761f1955f53ac6dd98c05696b3bc5bcb
@@ -74,12 +74,12 @@ txtBox.addEventListener('input', (e) => {
74
74
  }
75
75
  })
76
76
 
77
- function myFunction(x) {
77
+ function mobileScrollTop(x) {
78
78
  if (x.matches) {
79
79
  txtBox.addEventListener("click", () => {
80
- document.documentElement.scrollTop = 200
80
+ document.documentElement.scrollTop = 350
81
81
  setTimeout(() => {
82
- document.documentElement.scrollTop = 200
82
+ document.documentElement.scrollTop = 350
83
83
  }, 150);
84
84
  })
85
85
  } else {
@@ -87,8 +87,8 @@ function myFunction(x) {
87
87
  }
88
88
  }
89
89
  var x = window.matchMedia("(max-width: 768px)")
90
- myFunction(x)
91
- x.addListener(myFunction)
90
+ mobileScrollTop(x)
91
+ x.addListener(mobileScrollTop)
92
92
 
93
93
  var theSelect = document.getElementById('select_dropDown')
94
94
  const sortup = document.querySelector(".sortup-icon")
@@ -37,7 +37,6 @@ var sortValue
37
37
  var sortBool = false
38
38
 
39
39
 
40
-
41
40
  let letterCloseButton = document.querySelector('.letter-close-button-commonPage')
42
41
  if (serachValue) {
43
42
  letterCloseButton.classList.add("ltr-cls-btn-commonPage")
@@ -53,23 +52,6 @@ txtBox.focus()
53
52
  txtBox.value = serachValue
54
53
 
55
54
 
56
- function myFunction(x) {
57
- if (x.matches) {
58
- txtBox.addEventListener("click", () => {
59
- document.documentElement.scrollTop = 200
60
-
61
- setTimeout(() => {
62
- document.documentElement.scrollTop = 200
63
- }, 150);
64
- })
65
- } else {
66
- console.log("false");
67
- }
68
- }
69
- var x = window.matchMedia("(max-width: 768px)")
70
- myFunction(x)
71
- x.addListener(myFunction)
72
-
73
55
  txtBox.addEventListener('input', (e) => {
74
56
  if (e.target.value === "") {
75
57
  letterCloseButton.classList.remove("ltr-cls-btn-commonPage")
@@ -89,6 +71,25 @@ txtBox.addEventListener('input', (e) => {
89
71
  }
90
72
  })
91
73
 
74
+
75
+ function mobileScrollTop(x) {
76
+ if (x.matches) {
77
+ console.log(x.matches);
78
+ txtBox.addEventListener("click", () => {
79
+ document.documentElement.scrollTop = 350
80
+ setTimeout(() => {
81
+ document.documentElement.scrollTop = 350
82
+ }, 300);
83
+ })
84
+ } else {
85
+ console.log("false");
86
+ }
87
+ }
88
+ var x = window.matchMedia("(min-width: 768px)")
89
+ mobileScrollTop(x)
90
+ x.addListener(mobileScrollTop)
91
+
92
+
92
93
  let rangeOfBlankTile = script.dataset.range
93
94
  let quesMark = "?"
94
95
 
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.8
4
+ version: 1.4.9
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-07 00:00:00.000000000 Z
11
+ date: 2022-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll