word-games-theme 2.6.6 → 2.6.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,6 +16,7 @@ let includeValue = params.get('include')
16
16
  let lengthValue = params.get('length')
17
17
  let dictonary = params.get('dictionary')
18
18
 
19
+ let sortingFilter = document.querySelector("#select_dropDown");
19
20
 
20
21
  // Scrabble Point Counts
21
22
  const ScrabbleScore = () => {
@@ -91,8 +92,6 @@ let home_page_search_result = document.querySelector("#home_page_search_result")
91
92
  let homePageSearchResult = `/?search=${serachValue}&dictionary=Dictionary&prefix=&contains=&suffix=&exculde=&inculde=&length=`;
92
93
 
93
94
  txtBox.value = serachValue
94
-
95
-
96
95
  if (ablank) {
97
96
  if (!serachValue.includes("?")) {
98
97
  if (serachValue.length <= letterLen || serachValue.length >= letterLen) {
@@ -101,114 +100,9 @@ if (ablank) {
101
100
  }
102
101
  }
103
102
  }
104
- // const filterInputs = document.querySelectorAll('.filter_val');
105
- // Array.from(filterInputs).forEach((item) => {
106
- // item.addEventListener("input", (e) => {
107
- // const inputValue = e.target.value;
108
- // const parentElement = e.target.parentElement;
109
- // const imgElement = parentElement.querySelector('img');
110
- // const tooltipElement = parentElement.querySelector('.filter-tooltip');
111
-
112
- // if (inputValue == "") {
113
- // imgElement.src = "/assets/images/questionmark.svg"
114
- // item.nextElementSibling.setAttribute("data-tip", item.nextElementSibling.id)
115
- // tooltipElement.style.setProperty('--tooltip-padding', '0.5rem');
116
- // tooltipElement.style.setProperty('--tooltip-border-style', 'soild');
117
-
118
- // } else {
119
- // item.nextElementSibling.removeAttribute("data-tip")
120
- // imgElement.src = "/assets/images/close-btn.svg"
121
- // tooltipElement.style.setProperty('--tooltip-padding', '0');
122
- // tooltipElement.style.setProperty('--tooltip-border-style', 'none');
123
- // }
124
- // item.nextElementSibling.addEventListener("click", () => {
125
- // e.target.value = ""
126
- // imgElement.src = "/assets/images/questionmark.svg"
127
- // item.nextElementSibling.setAttribute("data-tip", item.nextElementSibling.id)
128
- // tooltipElement.style.setProperty('--tooltip-padding', '0.5rem');
129
- // tooltipElement.style.setProperty('--tooltip-border-style', 'soild');
130
- // })
131
- // })
132
- // })
133
- // function handleFilterInput(e) {
134
- // const inputValue = e.target.value;
135
- // const parentElement = e.target.parentElement;
136
- // const imgElement = parentElement.querySelector('img');
137
- // const tooltipElement = parentElement.querySelector('.filter-tooltip');
138
-
139
- // if (inputValue == "") {
140
- // imgElement.src = "/assets/images/questionmark.svg"
141
- // e.target.nextElementSibling.setAttribute("data-tip", e.target.nextElementSibling.id)
142
- // tooltipElement.style.setProperty('--tooltip-padding', '0.5rem');
143
- // tooltipElement.style.setProperty('--tooltip-border-style', 'solid');
144
- // } else {
145
- // e.target.nextElementSibling.removeAttribute("data-tip")
146
- // imgElement.src = "/assets/images/close-btn.svg"
147
- // tooltipElement.style.setProperty('--tooltip-padding', '0');
148
- // tooltipElement.style.setProperty('--tooltip-border-style', 'none');
149
- // }
150
-
151
- // e.target.nextElementSibling.addEventListener("click", () => {
152
- // e.target.value = ""
153
- // imgElement.src = "/assets/images/questionmark.svg"
154
- // e.target.nextElementSibling.setAttribute("data-tip", e.target.nextElementSibling.id)
155
- // tooltipElement.style.setProperty('--tooltip-padding', '0.5rem');
156
- // tooltipElement.style.setProperty('--tooltip-border-style', 'solid');
157
- // });
158
- // }
159
- // document.addEventListener("DOMContentLoaded", () => {
160
- // const filterInputs = document.querySelectorAll('.filter_val');
161
- // Array.from(filterInputs).forEach((item) => {
162
- // // Call the function on load
163
- // handleFilterInput({ target: item });
164
- // item.addEventListener("input", handleFilterInput);
165
- // });
166
- // });
167
- // let letterCloseButton = document.querySelector('.letter-close-button-commonPage')
168
103
  if (serachValue) {
169
104
  letterCloseButton.style.display = "block"
170
105
  }
171
- // letterCloseButton.addEventListener("click", () => {
172
- // txtBox.value = ""
173
- // letterCloseButton.classList.remove("ltr-cls-btn-commonPage")
174
- // })
175
-
176
- // txtBox.addEventListener('input', (e) => {
177
- // if (e.target.value === "") {
178
- // letterCloseButton.classList.remove("ltr-cls-btn-commonPage")
179
- // } else {
180
- // letterCloseButton.classList.add("ltr-cls-btn-commonPage")
181
- // }
182
- // let rangeOfBlankTile = script.dataset.range
183
- // e.target.value = e.target.value.replace(/[^a-zA-Z? ]/g, '')
184
- // if (rangeOfBlankTile === '') {
185
- // rangeOfBlankTile = 3
186
- // }
187
- // e.target.value = e.target.value.replace(/ /g, '?')
188
- // let data = []
189
- // data = e.target.value.split('').filter((i) => i === '?')
190
- // // console.log(data)
191
- // if (data.length > rangeOfBlankTile) {
192
- // e.target.value = e.target.value.replace(/\?$/, '')
193
- // }
194
- // })
195
-
196
- // function mobileScrollTop(x) {
197
- // if (x.matches) {
198
- // txtBox.addEventListener("click", () => {
199
- // document.documentElement.scrollTop = 350
200
- // setTimeout(() => {
201
- // document.documentElement.scrollTop = 350
202
- // }, 150);
203
- // })
204
- // } else {
205
- // console.log("false");
206
- // }
207
- // }
208
- // var x = window.matchMedia("(max-width: 768px)")
209
- // mobileScrollTop(x)
210
- // x.addListener(mobileScrollTop)
211
-
212
106
  var theSelect = document.getElementById('select_dropDown')
213
107
  const sortup = document.querySelector(".sortup-icon")
214
108
  let bool = false
@@ -258,19 +152,19 @@ const getData = async (serachValue) => {
258
152
  document.querySelector(".heading-h2").style.display = "none"
259
153
  errorMsg.innerHTML = ""
260
154
  wordCount.innerHTML = ""
261
- if(featureContainer){
155
+ if (featureContainer) {
262
156
  featureContainer.remove()
263
157
  }
264
- if(howContainer){
158
+ if (howContainer) {
265
159
  howContainer.remove()
266
160
  }
267
- if(faqsContainer){
161
+ if (faqsContainer) {
268
162
  faqsContainer.remove()
269
163
  }
270
- if(infographicsContainer){
164
+ if (infographicsContainer) {
271
165
  infographicsContainer.remove()
272
166
  }
273
- if(authorsLists){
167
+ if (authorsLists) {
274
168
  authorsLists.remove()
275
169
  }
276
170
  home_page_search_result.innerHTML = ""
@@ -303,9 +197,11 @@ const getData = async (serachValue) => {
303
197
  </li>
304
198
  </ul>
305
199
  </main>`;
306
- const response = await fetch(
307
- `/.netlify/functions/getWords?name=${serachValue}&selecteddictionary=${selectedDictionary}`
308
- )
200
+ if (serachValue) {
201
+ response = await fetch(`/.netlify/functions/getWords?name=${serachValue}&selecteddictionary=${selectedDictionary}`);
202
+ } else {
203
+ response = await fetch(`/.netlify/functions/getData?&selecteddictionary=${selectedDictionary}`)
204
+ }
309
205
  const data = await response.json()
310
206
  main.innerHTML = ''
311
207
  x_with_letters(data)
@@ -319,7 +215,6 @@ getData(serachValue.toLowerCase())
319
215
  let quesMark = ''
320
216
  quesMark = "?"
321
217
 
322
-
323
218
  function logSubmit(event) {
324
219
  document.querySelector(".fillterWrapper").classList.add("hide")
325
220
 
@@ -366,16 +261,15 @@ selectedDictionary.addEventListener("change", ((e) => {
366
261
  logSubmit(e)
367
262
  }))
368
263
 
369
-
370
264
  // applyBtn.addEventListener('submit', logSubmit)
371
265
  form.addEventListener('submit', logSubmit);
372
-
266
+ sortingFilter.addEventListener("change", logSubmit);
373
267
 
374
268
  function x_with_letters(data) {
375
- document.querySelector(".sortingFilters").style.display="flex"
269
+ document.querySelector(".sortingFilters").style.display = "flex"
376
270
  main.innerHTML = ""
377
271
  if (typeof data === 'string') {
378
- document.querySelector(".sortingFilters").style.display="none"
272
+ document.querySelector(".sortingFilters").style.display = "none"
379
273
  errorMsg.innerHTML = 'No words found'
380
274
  wordCount.innerHTML = `<strong>Found 0 words with letters ${serachValue.split(
381
275
  ''
@@ -478,10 +372,11 @@ function x_with_letters(data) {
478
372
  main.innerHTML += ''
479
373
  errorMsg.innerHTML = 'No words Found with this length'
480
374
  } else {
481
-
482
375
  newWordsLength += filterData.length
376
+ filterData = sortWords(filterData);
483
377
  let itemLength = ''
484
378
  const result = filterData.map((item) => {
379
+ let itemHtml = "";
485
380
  itemLength = item.length
486
381
  let ScrabbleLetterScore = ScrabbleScore()
487
382
  sum = 0
@@ -490,41 +385,45 @@ function x_with_letters(data) {
490
385
  sum += ScrabbleLetterScore[item[i]] || 0 // for unknown characters
491
386
  }
492
387
  wordLength.value = itemLength
493
-
494
- var text1 = serachValue.replace('?', '')
495
- var text2 = item
496
- var text3 = item
497
- function findIndex(str, char) {
498
- const strLength = str.length
499
- const indexes = []
500
- let newStr = str
501
- while (newStr && newStr.indexOf(char) > -1) {
502
- indexes.push(newStr.indexOf(char) + strLength - newStr.length)
503
- newStr = newStr.substring(newStr.indexOf(char) + 1)
504
- newStr = newStr.substring(newStr.indexOf(char) + 1)
388
+ if (serachValue) {
389
+ var text1 = serachValue.replace('?', '')
390
+ var text2 = item
391
+ var text3 = item
392
+ function findIndex(str, char) {
393
+ const strLength = str.length
394
+ const indexes = []
395
+ let newStr = str
396
+ while (newStr && newStr.indexOf(char) > -1) {
397
+ indexes.push(newStr.indexOf(char) + strLength - newStr.length)
398
+ newStr = newStr.substring(newStr.indexOf(char) + 1)
399
+ newStr = newStr.substring(newStr.indexOf(char) + 1)
400
+ }
401
+ return indexes
505
402
  }
506
- return indexes
403
+ let chars = text1.split('')
404
+ let indexs = []
405
+ chars.map((i) => {
406
+ let findIndexes = findIndex(text3, i)
407
+ if (findIndexes.length > 0) {
408
+ text3 = text3.split('')
409
+ text3[findIndexes] = '$'
410
+ text3 = text3.join('')
411
+ indexs = [...indexs, ...findIndexes]
412
+ }
413
+ })
414
+
415
+ text2.split('').map((itemValue, index) => {
416
+ let check = indexs.find((i) => i === index)
417
+ if (check !== undefined) {
418
+ itemHtml += `${itemValue}`
419
+ } else {
420
+ itemHtml += `<span class='highlight'>${itemValue}</span>`
421
+ }
422
+ })
423
+ } else {
424
+
425
+ itemHtml = item
507
426
  }
508
- let chars = text1.split('')
509
- let indexs = []
510
- chars.map((i) => {
511
- let findIndexes = findIndex(text3, i)
512
- if (findIndexes.length > 0) {
513
- text3 = text3.split('')
514
- text3[findIndexes] = '$'
515
- text3 = text3.join('')
516
- indexs = [...indexs, ...findIndexes]
517
- }
518
- })
519
- let itemHtml = ''
520
- text2.split('').map((itemValue, index) => {
521
- let check = indexs.find((i) => i === index)
522
- if (check !== undefined) {
523
- itemHtml += `${itemValue}`
524
- } else {
525
- itemHtml += `<span class='highlight'>${itemValue}</span>`
526
- }
527
- })
528
427
 
529
428
  dataArr.push(item)
530
429
  return `<a class="anchor__style" title="Lookup ${item} in Dictionary" target="_blank" href="/word-meaning?search=${item}">
@@ -543,277 +442,79 @@ function x_with_letters(data) {
543
442
  </div>
544
443
  </div>
545
444
  `;
546
-
547
- // sort eventlistener
548
- theSelect.addEventListener('change', () => {
549
- sortValue = theSelect[theSelect.selectedIndex].text
550
- if (sortValue == 'Z-A') {
551
- sortBool = true
552
- sortby(sortBool, dataArr, itemLength)
553
- } else {
554
- sortBool = false
555
- sortby(sortBool, dataArr, itemLength)
556
- }
557
- if (sortValue == 'Points') {
558
- sortBool = true
559
- sortPointsby(sortBool, dataArr, itemLength)
560
- }
561
- })
562
-
563
- sortValue = theSelect[theSelect.selectedIndex].text
564
- if (sortValue == 'Z-A') {
565
- sortby(sortBool, dataArr, itemLength)
566
- }
567
- if (sortValue == 'Points') {
568
- sortPointsby(sortBool, dataArr, itemLength)
569
- }
570
-
571
-
572
445
  }
573
-
446
+ if (serachValue) {
574
447
  wordCount.innerHTML = `<strong>Found ${newWordsLength} words with letters with ${serachValue.split(
575
448
  ''
576
449
  )}</strong>`
577
- }
578
- }
579
-
580
- //Handling of filter counter in advanced filter
581
- function addFilterCount() {
582
- let filter_val = document.getElementsByClassName('filter_val')
583
- let filter = document.querySelector('.filter_count')
584
- let filter_count = 0
585
-
586
- filter_val[0].value = prefixValue
587
- filter_val[1].value = containsValue
588
- filter_val[2].value = suffixValue
589
- filter_val[3].value = exculdeValue
590
- filter_val[4].value = includeValue
591
- filter_val[5].value = lengthValue
592
-
593
- for (var i = 0; i <= 4; i++) {
594
- if (filter_val[i].value != '') {
595
- filter_count += 1
596
- }
597
- if (filter_count === 0) {
598
- filter.style.display = 'none'
599
- } else {
600
- filter.style.display = 'inline-block'
601
- }
602
-
603
- filter.innerHTML = filter_count
604
- }
605
- }
606
- // addFilterCount()
607
-
608
- // sorting by points
609
- function sortPointsby(sortValue, data, i) {
610
- if (sortValue) {
611
- main.innerHTML = ''
612
- let newArray = []
613
- data.map((item) => {
614
- let ScrabbleLetterScore = ScrabbleScore()
615
- let points = 0
616
- item = item.toLowerCase()
617
- for (let i = 0; i < item.length; i++) {
618
- points += ScrabbleLetterScore[item[i]] || 0 // for unknown characters
450
+ }else{
451
+
452
+ let startwithMsg = ""
453
+ let endwithMsg = ""
454
+ let containsMsg = ""
455
+ let lengthMsg = ""
456
+ let inputVal = ""
457
+ if (serachValue) {
458
+ inputVal = `${input.value.split("")} `
619
459
  }
620
- const value = {
621
- words: item,
622
- points: points,
460
+ if (prefixValue) {
461
+ startwithMsg = `starting with ${prefixValue.split("")}`
623
462
  }
624
- newArray.push(value)
625
- newArray.sort(function (a, b) {
626
- return b.points - a.points
627
- })
628
- })
629
- const result = newArray.map((item) => {
630
- var text1 = serachValue.replace('?', '')
631
- var text2 = item.words
632
- var text3 = item.words
633
- function findIndex(str, char) {
634
- const strLength = str.length
635
- const indexes = []
636
- let newStr = str
637
- while (newStr && newStr.indexOf(char) > -1) {
638
- indexes.push(newStr.indexOf(char) + strLength - newStr.length)
639
- newStr = newStr.substring(newStr.indexOf(char) + 1)
640
- newStr = newStr.substring(newStr.indexOf(char) + 1)
641
- }
642
- return indexes
463
+ if (suffixValue) {
464
+ endwithMsg = `ending with ${suffixValue.split("")} `
643
465
  }
644
- let chars = text1.split('')
645
- let indexs = []
646
- chars.map((i) => {
647
- let findIndexes = findIndex(text3, i)
648
- if (findIndexes.length > 0) {
649
- text3 = text3.split('')
650
- text3[findIndexes] = '$'
651
- text3 = text3.join('')
652
- indexs = [...indexs, ...findIndexes]
653
- }
654
- })
655
- let itemHtml = ''
656
- text2.split('').map((itemValue, index) => {
657
- let check = indexs.find((i) => i === index)
658
- if (check !== undefined) {
659
- itemHtml += `${itemValue}`
660
- } else {
661
- itemHtml += `<span class='highlight'>${itemValue}</span>`
662
- }
663
- })
664
- return `<a class="anchor__style" title="Lookup ${item} in Dictionary" target="_blank" href="/word-meaning?search=${item.words}">
665
- ${itemHtml}
666
- <span class="points" value="${item.points}" style="position:relative; top:4px; font-size:12px"> ${item.points}</span>
667
- </a>`
668
- })
466
+ if (containsValue) {
467
+ containsMsg = `containing with ${containsValue.split("")} `
468
+ }
469
+ if (lengthValue) {
470
+ lengthMsg = `with ${lengthValue} letter words`
471
+ }
472
+ let msg = `<strong> Found ${newWordsLength} words with letters
473
+ ${lengthMsg} ${inputVal} ${startwithMsg} ${endwithMsg} ${containsMsg} </strong>`
669
474
 
670
- main.innerHTML += `
671
- <div class="allGroupWords wordlistContainer" id="alpha_${i}">
672
- <h3 class="wordListHeading lead">${i} Letter Words</h3>
673
- <div class="wordList">
674
- ${result.join('')}
675
- </div>
676
- </div>
677
- `
475
+ wordCount.innerHTML = `${msg} `
476
+ }
678
477
  }
679
478
  }
680
- // sort by aplhabets
681
- function sortby(sortBool, data, i) {
682
- if (sortBool) {
683
- main.innerHTML = ''
684
- data.reverse()
685
- const result = data.map((item) => {
686
- let ScrabbleLetterScore = ScrabbleScore()
687
- let sum = 0
688
- item = item.toLowerCase()
689
- for (let i = 0; i < item.length; i++) {
690
- sum += ScrabbleLetterScore[item[i]] || 0 // for unknown characters
691
- }
692
479
 
693
- var text1 = serachValue.replace('?', '')
694
- var text2 = item
695
- var text3 = item
696
- function findIndex(str, char) {
697
- const strLength = str.length
698
- const indexes = []
699
- let newStr = str
700
- while (newStr && newStr.indexOf(char) > -1) {
701
- indexes.push(newStr.indexOf(char) + strLength - newStr.length)
702
- newStr = newStr.substring(newStr.indexOf(char) + 1)
703
- newStr = newStr.substring(newStr.indexOf(char) + 1)
480
+ function sortWords(data) {
481
+ if (sortingFilter.selectedIndex == 0) {
482
+ return data;
483
+ } else if (sortingFilter.selectedIndex == 1) {
484
+ return data.sort();
485
+ } else if (sortingFilter.selectedIndex == 2) {
486
+ return data.reverse();
487
+ } else if (sortingFilter.selectedIndex == 3) {
488
+ var tempArr = [];
489
+ var newArray = [];
490
+ data.map((item) => {
491
+ let newWordsLength = 0;
492
+ if (item.length === 1) {
493
+ ok = false;
494
+ newWordsLength = newWordsLength - 1;
495
+ } else {
496
+ let ScrabbleLetterScore = ScrabbleScore();
497
+ let points = 0;
498
+ item = item.toLowerCase();
499
+ for (let i = 0; i < item.length; i++) {
500
+ points += ScrabbleLetterScore[item[i]] || 0; // for unknown characters
704
501
  }
705
- return indexes
502
+ const value = {
503
+ words: item,
504
+ points: points,
505
+ };
506
+ newArray.push(value);
706
507
  }
707
- let chars = text1.split('')
708
- let indexs = []
709
- chars.map((i) => {
710
- let findIndexes = findIndex(text3, i)
711
- if (findIndexes.length > 0) {
712
- text3 = text3.split('')
713
- text3[findIndexes] = '$'
714
- text3 = text3.join('')
715
- indexs = [...indexs, ...findIndexes]
716
- }
717
- })
718
- let itemHtml = ''
719
- text2.split('').map((itemValue, index) => {
720
- let check = indexs.find((i) => i === index)
721
- if (check !== undefined) {
722
- itemHtml += `${itemValue}`
723
- } else {
724
- itemHtml += `<span class='highlight'>${itemValue}</span>`
725
- }
726
- })
508
+ });
727
509
 
728
- return `<a class="anchor__style" title="Lookup ${item} in Dictionary" target="_blank" href="/word-meaning?search=${item}">
729
- ${itemHtml}
730
- <span class="points" value="${sum}" style="position:relative; top:4px; font-size:12px"> ${sum}</span>
731
- </a>`
732
- })
510
+ newArray.sort(function (a, b) {
511
+ return b.points - a.points;
512
+ });
733
513
 
734
- main.innerHTML += `
735
- <div class="allGroupWords wordlistContainer" id="alpha_${i}">
736
- <h3 class="wordListHeading lead">${i} Letter Words</h3>
737
- <div class="wordList">
738
- ${result.join('')}
739
- </div>
740
- </div>
741
-
742
- `
743
- } else {
744
- main.innerHTML = ''
745
- data.sort()
746
- const result = data.map((item) => {
747
- let ScrabbleLetterScore = ScrabbleScore()
748
- let sum = 0
749
- item = item.toLowerCase()
750
- for (let i = 0; i < item.length; i++) {
751
- sum += ScrabbleLetterScore[item[i]] || 0 // for unknown characters
752
- }
514
+ newArray.map((ele) => {
515
+ tempArr.push(ele.words);
516
+ });
753
517
 
754
- var text1 = serachValue.replace('?', '')
755
- var text2 = item
756
- var text3 = item
757
- function findIndex(str, char) {
758
- const strLength = str.length
759
- const indexes = []
760
- let newStr = str
761
- while (newStr && newStr.indexOf(char) > -1) {
762
- indexes.push(newStr.indexOf(char) + strLength - newStr.length)
763
- newStr = newStr.substring(newStr.indexOf(char) + 1)
764
- newStr = newStr.substring(newStr.indexOf(char) + 1)
765
- }
766
- return indexes
767
- }
768
- let chars = text1.split('')
769
- let indexs = []
770
- chars.map((i) => {
771
- let findIndexes = findIndex(text3, i)
772
- if (findIndexes.length > 0) {
773
- text3 = text3.split('')
774
- text3[findIndexes] = '$'
775
- text3 = text3.join('')
776
- indexs = [...indexs, ...findIndexes]
777
- }
778
- })
779
- let itemHtml = ''
780
- text2.split('').map((itemValue, index) => {
781
- let check = indexs.find((i) => i === index)
782
- if (check !== undefined) {
783
- itemHtml += `${itemValue}`
784
- } else {
785
- itemHtml += `<span class='highlight'>${itemValue}</span>`
786
- }
787
- })
788
-
789
- return `<a class="anchor__style" title="Lookup ${item} in Dictionary" target="_blank" href="/word-meaning?search=${item}">
790
- ${itemHtml}
791
- <span class="points" value="${sum}" style="position:relative; top:4px; font-size:12px"> ${sum}</span>
792
- </a>`
793
- })
794
-
795
- main.innerHTML += `
796
- <div class="allGroupWords wordlistContainer" id="alpha_${i}">
797
- <h3 class="wordListHeading lead">${i} Letter Words</h3>
798
- <div class="wordList">
799
- ${result.join('')}
800
- </div>
801
- </div>
802
-
803
- `
518
+ return tempArr;
804
519
  }
805
520
  }
806
-
807
- // Implement Active class
808
- // const addFilter = () => {
809
- // let tabs = document.getElementsByClassName('tab_link')
810
- // tabs[0] ? tabs[0].classList.add('active-tab') : ''
811
-
812
- // Array.from(tabs).map((item) => {
813
- // item.classList.remove('active-tab')
814
- // })
815
- // main.innerHTML += ``
816
- // let activeLetter = event.target
817
- // // console.log(activeLetter)
818
- // activeLetter.classList.add('active-tab')
819
- // }
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: 2.6.6
4
+ version: 2.6.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: 2024-03-11 00:00:00.000000000 Z
11
+ date: 2024-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll