Spaces:
Running
Running
Update templates/index.html
Browse files- templates/index.html +3 -5
templates/index.html
CHANGED
@@ -264,9 +264,7 @@
|
|
264 |
owner: {{ owner }}<br>
|
265 |
ip: {{ ip }}<br>
|
266 |
lat, lon: {{ loc }}
|
267 |
-
</span>
|
268 |
-
|
269 |
-
<span id="show-more"><i style="margin-bottom:5px; color:var(--text-color);" id="more-button" class="fa-solid fa-caret-down"></i></span>
|
270 |
|
271 |
<span class="tag"><br>made by brayden moore<br></span>
|
272 |
|
@@ -503,10 +501,10 @@
|
|
503 |
if (additionalInfo.style.height === '0px') {
|
504 |
const scrollHeight = additionalInfo.scrollHeight;
|
505 |
additionalInfo.style.height = `${scrollHeight}px`;
|
506 |
-
showMore.innerHTML = '<i style="margin-bottom:10px; color:var(--text-color);" id="more-button" class="fa-solid fa-caret-up"></i>';
|
507 |
} else {
|
508 |
additionalInfo.style.height = '0';
|
509 |
-
showMore.innerHTML = '<i style="margin-bottom:10px; color:var(--text-color);" id="more-button" class="fa-solid fa-caret-down"></i>';
|
510 |
}
|
511 |
});
|
512 |
});
|
|
|
264 |
owner: {{ owner }}<br>
|
265 |
ip: {{ ip }}<br>
|
266 |
lat, lon: {{ loc }}
|
267 |
+
</span><span id="show-more"><i style="margin-bottom:5px; color:var(--text-color);" id="more-button" class="fa-solid fa-caret-down"></i>(more)</span>
|
|
|
|
|
268 |
|
269 |
<span class="tag"><br>made by brayden moore<br></span>
|
270 |
|
|
|
501 |
if (additionalInfo.style.height === '0px') {
|
502 |
const scrollHeight = additionalInfo.scrollHeight;
|
503 |
additionalInfo.style.height = `${scrollHeight}px`;
|
504 |
+
showMore.innerHTML = '<i style="margin-bottom:10px; color:var(--text-color);" id="more-button" class="fa-solid fa-caret-up"></i>(less)';
|
505 |
} else {
|
506 |
additionalInfo.style.height = '0';
|
507 |
+
showMore.innerHTML = '<i style="margin-bottom:10px; color:var(--text-color);" id="more-button" class="fa-solid fa-caret-down"></i>(more)';
|
508 |
}
|
509 |
});
|
510 |
});
|