word-games-theme 1.6.5 → 1.6.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/js/repeat-letters.js +4 -3
- 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: 3c413cceff5d59a0e7282419e7961af9d8df0a2337296ecbff262ca186545298
|
4
|
+
data.tar.gz: 7df58300bffd706fa4d6559f8aa61f6104dcb117d010ae2f0729603495004521
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88336114b5f5ad21b7ce9f5cdc2132c3bbe5bc44b040cfce8b0cb9d6774955bfe825b421e14935dc155d2709b91e7fdaedeae13ae189abb6e00f2045662bad4a
|
7
|
+
data.tar.gz: 023bfc6ded63f6150bf00a8a63a55977e168279bf393aa481f4ee99af137e21ca7d2ea1d689533b102285d375919a4959c4579b40ed952eae1a92ad555afe3a2
|
data/assets/js/repeat-letters.js
CHANGED
@@ -38,7 +38,7 @@ let letterCloseButton = document.querySelector(
|
|
38
38
|
".letter-close-button-commonPage"
|
39
39
|
);
|
40
40
|
let ok = true;
|
41
|
-
const siteUrl = window.location.
|
41
|
+
const siteUrl = window.location.hostname;
|
42
42
|
let queryParams = [
|
43
43
|
{
|
44
44
|
name: "search",
|
@@ -142,7 +142,7 @@ const getData = async (serachValue) => {
|
|
142
142
|
</div>`;
|
143
143
|
|
144
144
|
const response = await fetch(
|
145
|
-
|
145
|
+
`http://127.0.0.1:9000/getRepeatWords?name=${serachValue}&selecteddictionary=${selectedDictionary}`
|
146
146
|
);
|
147
147
|
const data = await response.json();
|
148
148
|
main.innerHTML = "";
|
@@ -179,13 +179,14 @@ dictionary.addEventListener("change", (e) => {
|
|
179
179
|
|
180
180
|
applyBtn.addEventListener("submit", logSubmit);
|
181
181
|
form.addEventListener("submit", logSubmit);
|
182
|
+
sortingFilter.addEventListener("change", logSubmit);
|
182
183
|
|
183
184
|
// getWords function define...
|
184
185
|
function getWords(data) {
|
185
186
|
main.innerHTML = "";
|
186
187
|
tab_container.innerHTML = "";
|
187
188
|
|
188
|
-
data = filterRepeatedWords(txtBox.value.toLowerCase(), data);
|
189
|
+
// data = filterRepeatedWords(txtBox.value.toLowerCase(), data);
|
189
190
|
// data = sortWords(data);
|
190
191
|
if (data.length === 0) {
|
191
192
|
hideResultPageComponents();
|
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.6.
|
4
|
+
version: 1.6.6
|
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-12-
|
11
|
+
date: 2022-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|