word-games-theme 1.2.5 → 1.2.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,6 +5,7 @@ const getScript = document.currentScript
5
5
  let form = document.querySelector('#form')
6
6
  let wordCount = document.querySelector('.wordCount')
7
7
  let main = document.querySelector('.main')
8
+ // let loader = document.querySelector(".main-loader")
8
9
  let errorMsg = document.querySelector('.errorMsg')
9
10
  let script = document.currentScript
10
11
 
@@ -359,6 +360,8 @@ function getWords(data) {
359
360
  `
360
361
  let tabs = document.getElementsByClassName('tab_link')
361
362
  tabs[0] ? tabs[0].classList.add('active-tab') : ''
363
+
364
+
362
365
  main.innerHTML += `
363
366
  <div class="allGroupWords wordlistContainer" id="alpha_${i}">
364
367
  <div class="wordListHeading">
@@ -371,6 +374,7 @@ function getWords(data) {
371
374
  </div>
372
375
  </div>
373
376
  `
377
+
374
378
  }
375
379
  }
376
380
  }
@@ -748,9 +752,9 @@ function Filtering(id) {
748
752
  let activeLetter = event.target
749
753
  activeLetter.classList.add('active-tab')
750
754
 
751
-
752
755
  var section = document.querySelectorAll('.wordlistContainer')
753
756
  var sort_val = document.querySelector('.sort-select').value
757
+
754
758
  Array.prototype.forEach.call(section, function (e) {
755
759
  if (document.body.clientWidth > 991) {
756
760
  sections[e.id] = e.offsetTop - 10
@@ -758,8 +762,7 @@ function Filtering(id) {
758
762
  sections[e.id] = e.offsetTop - 10
759
763
  }
760
764
  })
761
-
762
- document.body.scrollTop = sections[sort_val + '_' + id] + 5
765
+ document.documentElement.scrollTop = sections[sort_val + '_' + id] + 5
763
766
  }
764
767
 
765
768
  // next && previous functionality
@@ -810,4 +813,4 @@ function findIndex(str, char) {
810
813
  }
811
814
 
812
815
  return indexes
813
- }
816
+ }
@@ -697,7 +697,7 @@ function Filtering(id) {
697
697
  }
698
698
  })
699
699
 
700
- document.body.scrollTop = sections[sort_val + '_' + id] + 5
700
+ document.documentElement.scrollTop = sections[sort_val + '_' + id] + 5
701
701
  }
702
702
 
703
703
  // next && previous functionality
data/assets/js/xyz.js CHANGED
@@ -59,7 +59,7 @@ function filterLinks(id) {
59
59
  }
60
60
  })
61
61
 
62
- document.body.scrollTop = sections[sort_val + '_' + id] + 5
62
+ document.documentElement.scrollTop = sections[sort_val + '_' + id] + 5
63
63
  }
64
64
 
65
65
  // next && previous functionality
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.2.5
4
+ version: 1.2.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: 2022-04-21 00:00:00.000000000 Z
11
+ date: 2022-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -217,6 +217,7 @@ files:
217
217
  - assets/images/Ankita.webp
218
218
  - assets/images/Anushka.webp
219
219
  - assets/images/Arjyahi.webp
220
+ - assets/images/EMDI - Hurts Like This (feat. Veronica Bravo) [NCS Release].mp3
220
221
  - assets/images/Nikita.webp
221
222
  - assets/images/abp.svg
222
223
  - assets/images/adblock.svg
@@ -262,6 +263,7 @@ files:
262
263
  - assets/images/star.png
263
264
  - assets/images/star.svg
264
265
  - assets/images/test.png
266
+ - assets/images/timer.svg
265
267
  - assets/images/twitter-square.svg
266
268
  - assets/images/twitter.svg
267
269
  - assets/images/twitter2.svg
@@ -286,6 +288,7 @@ files:
286
288
  - assets/js/createWordle.js
287
289
  - assets/js/game.js
288
290
  - assets/js/leftNav.js
291
+ - assets/js/noRefreshAds.js
289
292
  - assets/js/other-lang-wordScrabble.js
290
293
  - assets/js/scrabbleDictonary.js
291
294
  - assets/js/wordScrabble-test.js