word-games-theme 1.4.6 → 1.4.8

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: 6e4378b03b1feda98855bdd1e8698da9cb06441e109b4c1d3d3187df3eba4ff0
4
- data.tar.gz: fa8041634cdf6f5e23dd80c2bbda9fb4f380cbc61e663f6f7c22b6ee716e14d9
3
+ metadata.gz: c7b3a1a1b7368d9db8ded4833d615bb83e9eea5b0ab4631ccfa183fd92a7ee54
4
+ data.tar.gz: b1c424956a3b04bc63601fdfe82d113d80d6356e747da0ea06e3dcf10f79ef57
5
5
  SHA512:
6
- metadata.gz: b94a3728d3f9b7dafe3e4088eb4092be444a8a0644880729dc6f49c0c65ed20a92c68a6f3e6155d124b40f2f00776ff5db56d140513488e75ec8bbeda7fb9b8f
7
- data.tar.gz: d5b652984b9c71bb0eea66944a412f0c51b4023030d1a7ea7b6a551ceb0b70b4d38a4033b7f7c2a8d06290b0fb97c4645aa9031b391ce61307f3e4d56fcc6576
6
+ metadata.gz: eba4f6ce252c95d8612e2730e1e08abb7935ba9318c7ff0be35627939f53161a4a45e2ca6567e31b52e2c190ed748cc23c51f77e646ab611b558d3dae2e83483
7
+ data.tar.gz: 22813165e16425c575bdbc0082b9c73429ce091ee81c2ba0588c4713c8594a83258512c21b628fd3299d17cc7b0b314caaafbbb314028b7c47cdb822e0f01ebf
@@ -175,7 +175,6 @@
175
175
  {%- endif -%}
176
176
 
177
177
  {% include section/wordGroup.html %}
178
- {% include placeholder-loading.html %}
179
178
 
180
179
  </div>
181
180
  <!-- navbar close -->
@@ -32,9 +32,8 @@
32
32
  <i class="ltr-cls-btn bi bi-x-circle-fill"></i>
33
33
  </div>
34
34
  </div>
35
- <input style="border-radius: {{CustomColor.inputFieldBorder}};
36
- background-color: {{CustomColor.inputButtonBg}};" type="submit" class="serachBtn" id="serach"
37
- value="">
35
+ <input value="" style="border-radius: {{CustomColor.inputFieldBorder}};
36
+ background-color: {{CustomColor.inputButtonBg}};" type="submit" class="serachBtn" id="serach">
38
37
 
39
38
  <div class="dictonaryDropdown">
40
39
  <select class="form-select select_dropDown2" name="dictionary"
@@ -81,8 +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: 200, behavior: 'smooth' });
84
+ document.documentElement.scrollTop = 200
85
+ setTimeout(() => {
86
+ document.documentElement.scrollTop = 200
87
+ }, 150);
86
88
  })
87
89
  } else {
88
90
  console.log("false");
data/_layouts/page.html CHANGED
@@ -77,7 +77,7 @@
77
77
 
78
78
  {%- if page.language -%}
79
79
  <script data-language="{{page.language}}" src="/assets/js/other-lang-wordScrabble.js" crossorigin></script>
80
- {%- elsif page.tool != 'words-that-start-with-the-letters' and page.noAdsRefresh != true-%}
80
+ {%- elsif page.tool != 'words-that-start-with-the-letters' -%}
81
81
  <script defer data-url="{{site.url}}" data-range="{{page.blanktilerange}}" src="/assets/js/wordScrabble-test.js
82
82
  "></script>
83
83
  {%- endif -%}
@@ -74,12 +74,13 @@ txtBox.addEventListener('input', (e) => {
74
74
  }
75
75
  })
76
76
 
77
- let placeholder_loading = document.querySelector(".placeholder_loading")
78
77
  function myFunction(x) {
79
78
  if (x.matches) {
80
79
  txtBox.addEventListener("click", () => {
81
- const scrollingElement = (document.scrollingElement || document.body || document.documentElement);
82
- scrollingElement.scroll({ top: 200, behavior: 'smooth' });
80
+ document.documentElement.scrollTop = 200
81
+ setTimeout(() => {
82
+ document.documentElement.scrollTop = 200
83
+ }, 150);
83
84
  })
84
85
  } else {
85
86
  console.log("false");
@@ -128,7 +129,7 @@ const getDiff = (text1, text2) => {
128
129
  }
129
130
  const getData = async (serachValue) => {
130
131
  try {
131
- placeholder_loading.style.display = "none"
132
+ // placeholder_loading.style.display = "none"
132
133
  errorMsg.innerHTML = ""
133
134
  wordCount.innerHTML = ""
134
135
  home_page_search_result.innerHTML = ""
@@ -53,12 +53,14 @@ txtBox.focus()
53
53
  txtBox.value = serachValue
54
54
 
55
55
 
56
- let placeholder_loading = document.querySelector(".placeholder_loading")
57
56
  function myFunction(x) {
58
57
  if (x.matches) {
59
58
  txtBox.addEventListener("click", () => {
60
- const scrollingElement = (document.scrollingElement || document.body || document.documentElement);
61
- scrollingElement.scroll({ top: 200, behavior: 'smooth' });
59
+ document.documentElement.scrollTop = 200
60
+
61
+ setTimeout(() => {
62
+ document.documentElement.scrollTop = 200
63
+ }, 150);
62
64
  })
63
65
  } else {
64
66
  console.log("false");
@@ -138,7 +140,6 @@ const getDiff = (text1, text2) => {
138
140
  // getWords define...
139
141
  const getData = async (serachValue) => {
140
142
  try {
141
- placeholder_loading.style.display = "none"
142
143
  errorMsg.innerHTML = ""
143
144
  wordCount.innerHTML = ""
144
145
  let selectedDictionary = document.querySelector('.select_dropDown2').value
@@ -787,7 +788,7 @@ function Filtering(id) {
787
788
 
788
789
  setTimeout(() => {
789
790
  document.documentElement.scrollTop = sections[sort_val + "_" + id] + 5;
790
- }, 200);
791
+ }, 150);
791
792
  }
792
793
 
793
794
  // next && previous functionality
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.6
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-09-26 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