word-games-theme 3.1.1 → 3.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/assets/js/wordleSolver.js +8 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 622ce146ac7bc99194ecdf8a9ad142ce594cbfbe763180ba93df4bfdd25c5532
4
- data.tar.gz: 6581475d97ffe016d69cddbe2a77476473181227e424112594e81a997ed6c0a6
3
+ metadata.gz: 54a8a3be2e3ce6d76614cb77d23730ca9a5da40077e8963991d3d0fcc911b162
4
+ data.tar.gz: 54bbfd1323d3456934921baa6ec88ad1325ef6a17761ec145225e9982f3d4e9a
5
5
  SHA512:
6
- metadata.gz: e303bb10e60ef6ee17af38c7e8d1c89df8164e3692ac256247915d325e25f1be7e9a7311d20edeffea0333c9d5312f6414b1412a9d240c2d5c2d60bd6e7cc8f7
7
- data.tar.gz: 954a40bc85f93bf60d35dec83ec99c22947819ec363e48a1610293ecbe2e4b7e5c0f02c994db21edb44c2195efd1cecc8fb5fce70ea806e107b7a767c99c8c35
6
+ metadata.gz: 5fc21264b87cd25f4330bc7d04caa1c4b1f95b5351718945bd748a7cbe0ca0562e5296dfcee282e24771cc94870153ad2c5963909461dc633d8515e94809b1d3
7
+ data.tar.gz: 6094827a6241876338024009622f3606d6c829898656ad75dcfcec5ac0385605496a5c31dc69f6f83a259dfb8074ffa77546f09f2f15c5fee7063eec590d7ae3
@@ -58,6 +58,13 @@ let faqsContainer = document.querySelector("#faqsContainer")
58
58
  let infographicsContainer = document.querySelector("#infographicsContainer")
59
59
  let authorsLists = document.querySelector(".authors-list")
60
60
 
61
+
62
+ function sendPageViewEvent() {
63
+ gtag('event', 'page_view', {
64
+ page_location: window.location.pathname + location.search
65
+ });
66
+ }
67
+
61
68
  function handleSubmit(e) {
62
69
  e.preventDefault()
63
70
  if (featureContainer) {
@@ -121,9 +128,7 @@ function handleSubmit(e) {
121
128
  let includes = params.get('includes')
122
129
  let excludes = params.get('excludes')
123
130
 
124
- gtag('event', 'page_view', {
125
- page_location: window.location.pathname + location.search,
126
- })
131
+ setTimeout(sendPageViewEvent, 0);
127
132
  }
128
133
  wordleSolver(getGreenLetters, getYellowLetters, getGreyLetters, greenWithIndex)
129
134
  }
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: 3.1.1
4
+ version: 3.1.2
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-08-16 00:00:00.000000000 Z
11
+ date: 2024-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll