word-games-theme 2.6.5 → 2.6.6
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 +4 -4
- data/assets/js/wordfinder.js +15 -5
- data/assets/js/xletter-result.js +23 -0
- 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: 15977f28d7eae81b0ee2dd9364bdad45622a362970895ce50f4ad5238c3ca84d
|
|
4
|
+
data.tar.gz: cdb2c7e42cca4e48ad9273f6a83dd26300ce103ec69a9541b6c76cbc58dc025b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f80f98c07b2b19d09ccbab1485b08ff17324982016be10f76a0597ea0d3c062f277deb4313a15ff93e67af1e7c71ed89fe5123da42d5dea684a7723fbf7070b1
|
|
7
|
+
data.tar.gz: a204204c9f8b6110ec129c2f53867e607694aa86a22c5168cc478f1641dae2735778e4a05f0a2a8729bd18d0677cc5a9e87c271d9b70a6f43627fd61c3bc3576
|
data/assets/js/wordfinder.js
CHANGED
|
@@ -220,11 +220,21 @@ const getData = async (serachValue) => {
|
|
|
220
220
|
try {
|
|
221
221
|
document.querySelector(".main-header").style.background = "#fff"
|
|
222
222
|
document.querySelector(".heading-h2").style.display = "none"
|
|
223
|
-
featureContainer
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
223
|
+
if(featureContainer){
|
|
224
|
+
featureContainer.remove()
|
|
225
|
+
}
|
|
226
|
+
if(howContainer){
|
|
227
|
+
howContainer.remove()
|
|
228
|
+
}
|
|
229
|
+
if(faqsContainer){
|
|
230
|
+
faqsContainer.remove()
|
|
231
|
+
}
|
|
232
|
+
if(infographicsContainer){
|
|
233
|
+
infographicsContainer.remove()
|
|
234
|
+
}
|
|
235
|
+
if(authorsLists){
|
|
236
|
+
authorsLists.remove()
|
|
237
|
+
}
|
|
228
238
|
errorMsg.innerHTML = "";
|
|
229
239
|
wordCount.innerHTML = "";
|
|
230
240
|
let selectedDictionary = document.querySelector(".select_dropDown2").value;
|
data/assets/js/xletter-result.js
CHANGED
|
@@ -246,10 +246,33 @@ const getDiff = (text1, text2) => {
|
|
|
246
246
|
}
|
|
247
247
|
return diffRange
|
|
248
248
|
}
|
|
249
|
+
let featureContainer = document.querySelector("#featureContainer")
|
|
250
|
+
let howContainer = document.querySelector("#howContainer")
|
|
251
|
+
let faqsContainer = document.querySelector("#faqsContainer")
|
|
252
|
+
let infographicsContainer = document.querySelector("#infographicsContainer")
|
|
253
|
+
let authorsLists = document.querySelector(".authors-list")
|
|
254
|
+
|
|
249
255
|
const getData = async (serachValue) => {
|
|
250
256
|
try {
|
|
257
|
+
document.querySelector(".main-header").style.background = "#fff"
|
|
258
|
+
document.querySelector(".heading-h2").style.display = "none"
|
|
251
259
|
errorMsg.innerHTML = ""
|
|
252
260
|
wordCount.innerHTML = ""
|
|
261
|
+
if(featureContainer){
|
|
262
|
+
featureContainer.remove()
|
|
263
|
+
}
|
|
264
|
+
if(howContainer){
|
|
265
|
+
howContainer.remove()
|
|
266
|
+
}
|
|
267
|
+
if(faqsContainer){
|
|
268
|
+
faqsContainer.remove()
|
|
269
|
+
}
|
|
270
|
+
if(infographicsContainer){
|
|
271
|
+
infographicsContainer.remove()
|
|
272
|
+
}
|
|
273
|
+
if(authorsLists){
|
|
274
|
+
authorsLists.remove()
|
|
275
|
+
}
|
|
253
276
|
home_page_search_result.innerHTML = ""
|
|
254
277
|
let selectedDictionary = document.querySelector('.select_dropDown2').value
|
|
255
278
|
main.innerHTML = `<main class="placeholder-loader">
|