word-games-theme 2.5.6 → 2.5.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/js/wordfinder.js +0 -1
- data/assets/js/words-starting-with.js +3 -3
- data/assets/js/xletter-home.js +4 -6
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 372bb4f86437a0d0bdea4d7e29b17f28d8d1bf4a99bd8e4eec94fd25937919c4
|
4
|
+
data.tar.gz: 0c89e138570d5a9bc74690e5898f354bcb77cdb6756583c2210f43264d6d98d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 211f3d8e3dfbd8e45a3ce9e7a57ae3111578d9201b1268dee612b77f1204ebfecb50a63b54e64b3c4069d471aea8e2db17fbb8fa6325d8d79d4b0d94e36e585b
|
7
|
+
data.tar.gz: 3999324dd0e855c8c19d3994287aec2ca8ef4b89f1f0648b1668fe3c8cf2466ea243d9af43404af726a534e6290a3e38056534798860ee74d8a18729210c44a8
|
data/assets/js/wordfinder.js
CHANGED
@@ -9,7 +9,6 @@ let wordCount = document.querySelector(".wordCount");
|
|
9
9
|
let main = document.querySelector(".main");
|
10
10
|
// let loader = document.querySelector(".main-loader")
|
11
11
|
let errorMsg = document.querySelector(".errorMsg");
|
12
|
-
let script = document.currentScript;
|
13
12
|
|
14
13
|
// getqueryUrl from form
|
15
14
|
const params = new URLSearchParams(window.location.search);
|
@@ -122,9 +122,9 @@ if (lengthValue === '1') {
|
|
122
122
|
lengthValue = params.get('length')
|
123
123
|
dictonary = params.get('dictionary')
|
124
124
|
|
125
|
-
gtag('event', 'page_view', {
|
126
|
-
|
127
|
-
})
|
125
|
+
// gtag('event', 'page_view', {
|
126
|
+
// page_location: window.location.pathname + location.search,
|
127
|
+
// })
|
128
128
|
}
|
129
129
|
getData(txtBox.value.toLowerCase())
|
130
130
|
addFilterCount()
|
data/assets/js/xletter-home.js
CHANGED
@@ -172,14 +172,12 @@ formElement.addEventListener("submit", function (e) {
|
|
172
172
|
|
173
173
|
const paramName = 'search';
|
174
174
|
if (new URLSearchParams(window.location.search).has(paramName)) {
|
175
|
-
|
176
|
-
.then((data) => {
|
175
|
+
|
176
|
+
loadResource("/assets/css/wordfinder-result.css", true, "text/css").then((data) => {
|
177
177
|
console.log("CSS loaded:", data);
|
178
|
-
})
|
179
|
-
.then(() => {
|
178
|
+
}).then(() => {
|
180
179
|
// Load the JavaScript file after the CSS file has loaded
|
181
|
-
loadResource("/assets/js/xletter-result.js", true, "text/javascript")
|
182
|
-
.then((data) => {
|
180
|
+
loadResource("/assets/js/xletter-result.js", true, "text/javascript").then((data) => {
|
183
181
|
console.log("JavaScript loaded:", data);
|
184
182
|
getData(txtBox.value.toLowerCase());
|
185
183
|
})
|