word-games-theme 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/disqus_comments.html +1 -9
- data/_layouts/post.html +11 -2
- data/assets/js/X-letter-test.js +0 -4
- data/assets/js/wordScrabble-test.js +19 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8c389abb541bb903ca7eeca020e319fd789f8e5eac1fc701ff13f5416bb8b5d
|
4
|
+
data.tar.gz: 8ed333b0d310da0ccc68999f7f9bd62119b221b62fcecc87f57aadbe073f27c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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"
|
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>
|
data/assets/js/X-letter-test.js
CHANGED
@@ -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
|
-
|
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) {
|