word-games-theme 1.1.3 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2dd431c32c8c829e7a5b6542b4514f7fbd054ad6bfafe41bae170b2512eabc14
4
- data.tar.gz: ca6b43489ae3c7db6d803927ecaf482e42e338d9958a6d8100055bcbf7060a79
3
+ metadata.gz: f8c389abb541bb903ca7eeca020e319fd789f8e5eac1fc701ff13f5416bb8b5d
4
+ data.tar.gz: 8ed333b0d310da0ccc68999f7f9bd62119b221b62fcecc87f57aadbe073f27c7
5
5
  SHA512:
6
- metadata.gz: fa5fd44e929e615e2d435e4532899924c7b19ded1ce95767fd0950993037002a628862b4de49c431e85820dfe9788216e9c908e890d0d502c17a2109619e933a
7
- data.tar.gz: 6a558fc0d65ea899ce48dfe450cba405c958f580bc0eada660b852f4e106c1e0bd71da4fac163c37ded310aa10a9305f30b1ac50f3bc6ec841c8de8dc9f4716f
6
+ metadata.gz: bce535bfde95901e2398445d5b4f32063a0ef5aaf12738907619373ec900f23543b6deb4d2bea3a4e0faf5585358d54e76a6a69fcb55fabf40bf1a18be6b7c17
7
+ data.tar.gz: 1f09cd784907ba9793702d12a8586450fb1b1abd4f75b0a9c9d34fa8aa42718d6bc93eb79bb7f083cb7069078a2f746d743620eb7410e917b26dff269edfb119
@@ -2,17 +2,9 @@
2
2
  <div class="row">
3
3
  <div class="col-md-8 mx-auto">
4
4
  <div id="disqus_thread"></div>
5
- <script>
6
- (function () {
7
- var d = document, s = d.createElement('script');
8
- s.src = 'https://{{site.disqus.shortname}}.disqus.com/embed.js';
9
- s.setAttribute('data-timestamp', +new Date());
10
- (d.head || d.body).appendChild(s);
11
- })();
12
- </script>
5
+ <script type="text/javascript" defer delay='https://{{site.disqus.shortname}}.disqus.com/embed.js'></script>
13
6
  <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by
14
7
  Disqus.</a></noscript>
15
-
16
8
  </div>
17
9
  </div>
18
10
  {%- else -%}
data/_layouts/post.html CHANGED
@@ -60,7 +60,8 @@
60
60
  <li> <a href=" {{ link }}" data-toggle="tooltip"
61
61
  onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
62
62
  data-placement="top" title="{{ share.type }}" aria-label="{{ share.type }}">
63
- <img src="{{ share.icon }}" class="mb-0 py-1" style="width: 18px"></img>
63
+ <img loading="lazy" alt="share-icon" src="{{ share.icon }}" class="mb-0 py-1"
64
+ style="width: 18px"></img>
64
65
  </a>
65
66
  </li>
66
67
  {% endfor %}
@@ -135,7 +136,15 @@
135
136
  <!-- {%- include section/alertbar.html -%} -->
136
137
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/all.min.css" />
137
138
  {% include script.html %}
138
- <script src="{{ '/assets/js/TopScroll.js' | relative_url }}"></script>
139
+ <!-- <script src="{{ '/assets/js/TopScroll.js' | relative_url }}"></script> -->
140
+ <script>
141
+ const img = document.getElementsByTagName("img")
142
+
143
+ Array.from(img).forEach((elem) => {
144
+ elem.setAttribute("loading", 'lazy')
145
+ })
146
+
147
+ </script>
139
148
  </body>
140
149
 
141
150
  </html>
@@ -144,10 +144,6 @@ function logSubmit(event) {
144
144
  }
145
145
  }
146
146
 
147
-
148
-
149
-
150
-
151
147
  let selectedDictionary = document.querySelector('.select_dropDown2').value
152
148
  event.preventDefault();
153
149
  if (history.pushState) {
@@ -36,6 +36,7 @@ var sortValue
36
36
  var sortBool = false
37
37
 
38
38
 
39
+
39
40
  let letterCloseButton = document.querySelector('.letter-close-button-commonPage')
40
41
  if (serachValue) {
41
42
  letterCloseButton.classList.add("ltr-cls-btn-commonPage")
@@ -67,7 +68,18 @@ txtBox.addEventListener('input', (e) => {
67
68
  e.target.value = e.target.value.replace(/\?$/, '')
68
69
  }
69
70
  })
70
- var theSelect = document.getElementById('select_dropDown')
71
+
72
+ let rangeOfBlankTile = script.dataset.range
73
+ let quesMark = "?"
74
+
75
+ if (rangeOfBlankTile) {
76
+ if (!serachValue.includes("?")) {
77
+ serachValue = serachValue + quesMark.repeat(rangeOfBlankTile); //
78
+ txtBox.value = serachValue
79
+ }
80
+ }
81
+
82
+ let theSelect = document.getElementById('select_dropDown')
71
83
 
72
84
  const sortup = document.querySelector(".sortup-icon")
73
85
  let bool = false
@@ -133,6 +145,12 @@ if (lengthValue === '1') {
133
145
  } else {
134
146
  getData(serachValue.toLowerCase())
135
147
  function logSubmit(event) {
148
+ if (rangeOfBlankTile) {
149
+ if (!txtBox.value.includes("?")) {
150
+ txtBox.value = txtBox.value + quesMark.repeat(rangeOfBlankTile); //
151
+ }
152
+ }
153
+
136
154
  let selectedDictionary = document.querySelector('.select_dropDown2').value
137
155
  event.preventDefault();
138
156
  if (history.pushState) {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: word-games-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - manpreet-appscms