word-games-theme 2.7.2 → 2.7.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 207e5c95f95f5d6ed16a66ed209ecb46f128d69c0c35e79e5bba5d4c8a7f6353
4
- data.tar.gz: 3232fb95c809a4fc84b6bb6682af6cdb24abc8bcd1c03dc0afd97d82b22190a7
3
+ metadata.gz: c5dcf51effe8c8b89666e41f8a387a79898e3a9ad90cf90cfbee626ba1a90250
4
+ data.tar.gz: 42f9455e91e702a63d53529a4189d4ea3b1825b075bd970f42b89c61918b2cab
5
5
  SHA512:
6
- metadata.gz: 590e26205d2dbc66f2fd714d88213265e73868467ef966257c7ee1a064df33ae321ca3b10aa7a78ff1b62bd827a3a50acdd100d966801437fc984c996105c61b
7
- data.tar.gz: 962dee503b41672d6b4ccbffe7f42ca44f42a3b74f2ebd06bc28465bc181fdcb6b641c31e9fdbcc86857a6b5c9bf1fb95021898f4f864d55bc81654e98694c1d
6
+ metadata.gz: 4613519eefd5d8514e6af9a8e66b97052599a19b2a2d2b26f80065e5dfb98395cc63125f0ef3990cab8c07fb993dc6ba36d6be28621a9c510d72964e422ecffc
7
+ data.tar.gz: 3459327044b4cca4e137a1c1ff67a08b4a260640f4cc858d292d5110207aacc9e7857d4119e3b6c3197ba9579c858200712cfb101b3319a1f7234fe2bd290e52
@@ -226,11 +226,16 @@ if (lengthValue === "1") {
226
226
  sortingFilter.addEventListener("change", logSubmit);
227
227
  }
228
228
 
229
+
230
+ let previousDataIndex = null
231
+ let previousID = null;
232
+ let storepreviousIndex = []
229
233
  let moreData = []
230
234
  let data_index = 25;
231
235
  function getWords(data) {
232
236
  data_index = 25
233
237
  moreData = []
238
+ storepreviousIndex =[]
234
239
  main.innerHTML = "";
235
240
  lengthSelect.innerHTML = ""
236
241
  document.querySelector(".sortingFilters").style.display = "flex"
@@ -420,7 +425,14 @@ function getWords(data) {
420
425
  <h3 class="wordListHeading lead">${i} Letter Words</h3>
421
426
  <div class="wordList">${result.join("")}</div>
422
427
  <div class="w-100 text-center btn-container">
423
- <button onclick="showMoreWords(this)" type="button" class="my-4 showmore_btn" id="${i}">More Words</button>
428
+ <button
429
+ style="background: black;
430
+ padding: 1rem 2rem;
431
+ border-radius: 50px;
432
+ color: #fff;
433
+ font-size: 15px;
434
+ border: none;"
435
+ onclick="showMoreWords(this)" type="button" class="my-4 showmore_btn" id="${i}">More Words</button>
424
436
  </div>
425
437
  </div>`
426
438
 
@@ -472,9 +484,6 @@ async function getMoreWords() {
472
484
  return uniqueArray
473
485
  }
474
486
 
475
- let previousDataIndex = null
476
- let previousID = null;
477
- let storepreviousIndex = []
478
487
  async function showMoreWords(e) {
479
488
  try {
480
489
  let showmore = e.parentElement.children[0];
@@ -449,7 +449,14 @@ function x_with_letters(data) {
449
449
  ${result.join("")}
450
450
  </div>
451
451
  <div class="w-100 text-center btn-container">
452
- <button onclick="showMoreWords(this)" type="button" class="my-4 showmore_btn" id="${itemLength}">More Words</button>
452
+ <button
453
+ style="background: black;
454
+ padding: 1rem 2rem;
455
+ border-radius: 50px;
456
+ color: #fff;
457
+ font-size: 15px;
458
+ border: none;"
459
+ onclick="showMoreWords(this)" type="button" class="my-4 showmore_btn" id="${itemLength}">More Words</button>
453
460
  </div>
454
461
  </div>
455
462
  `;
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.7.2
4
+ version: 2.7.4
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-04-13 00:00:00.000000000 Z
11
+ date: 2024-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll