word-games-theme 3.1.1 → 3.1.3

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: 622ce146ac7bc99194ecdf8a9ad142ce594cbfbe763180ba93df4bfdd25c5532
4
- data.tar.gz: 6581475d97ffe016d69cddbe2a77476473181227e424112594e81a997ed6c0a6
3
+ metadata.gz: e0948729f67a08368f9ae745d7abca82ac76e72d6cc4a2df5a06993c1d733fd5
4
+ data.tar.gz: 18a7511365766678f1c4dc2af68c75a140e2815a350981d5887358c557339f59
5
5
  SHA512:
6
- metadata.gz: e303bb10e60ef6ee17af38c7e8d1c89df8164e3692ac256247915d325e25f1be7e9a7311d20edeffea0333c9d5312f6414b1412a9d240c2d5c2d60bd6e7cc8f7
7
- data.tar.gz: 954a40bc85f93bf60d35dec83ec99c22947819ec363e48a1610293ecbe2e4b7e5c0f02c994db21edb44c2195efd1cecc8fb5fce70ea806e107b7a767c99c8c35
6
+ metadata.gz: cc89f80cb83d0d70a5137c0c07a4b0c5ec4869c809fa0b7e079c15f97c9c0d643c3c5e24a255373bce1affc2cf5472bfed9f1d300eaf551fb9bb398687f05d0a
7
+ data.tar.gz: 92e45914f9a9f7eb38df58207f37726891195f31e55ea0b4e55549fb5500a721e540582674b8d2a2d418872f447c22bad13613a13e933e5246c28c9473902352
@@ -92,7 +92,7 @@
92
92
  border-radius: 50px;
93
93
  color: #fff;
94
94
  font-size: 15px;
95
- border: none;" onclick="showMoreWords(this)" type="button" class="my-4 showmore_btn">More
95
+ border: none;" onclick="ShowMoreWords(this)" type="button" class="my-4 showmore_btn">More
96
96
  Words</button>
97
97
  </div>
98
98
  </div>
@@ -1,6 +1,6 @@
1
1
 
2
2
  let data_indexs = 25;
3
- function showMoreWords(e) {
3
+ function ShowMoreWords(e) {
4
4
  let showmore = e.parentElement.children[0];
5
5
  let script = document.getElementById("get-value");
6
6
  let folderName = script.dataset.foldername;
@@ -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.3
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-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll