dsfsfd
This commit is contained in:
parent
08a2fb502b
commit
711b670733
4 changed files with 7 additions and 3 deletions
|
@ -5,7 +5,9 @@ function timestamp(str, ti) {
|
|||
|
||||
function pinned_timestamp(id) {
|
||||
const el = document.getElementById(id)
|
||||
const time = new Date(el.dataset.timestamp).toString()
|
||||
console.log(el.dataset.time)
|
||||
console.log(typeof(el.dataset.time))
|
||||
const time = new Date(el.dataset.timestamp)
|
||||
el.setAttribute("data-bs-original-title", `Pinned until ${time}`)
|
||||
}
|
||||
|
||||
|
|
|
@ -765,7 +765,7 @@
|
|||
{% include "expanded_image_modal.html" %}
|
||||
|
||||
<script src="/assets/js/popover.js?v=12"></script>
|
||||
<script src="/assets/js/comments+submission_listing.js?v=1"></script>
|
||||
<script src="/assets/js/comments+submission_listing.js?v=2"></script>
|
||||
<script src="/assets/js/comments.js?v=13"></script>
|
||||
|
||||
<script>
|
||||
|
|
|
@ -659,5 +659,5 @@
|
|||
|
||||
<script src="/assets/js/clipboard.js?v=3"></script>
|
||||
<script src="/assets/js/popover.js?v=12"></script>
|
||||
<script src="/assets/js/comments+submission_listing.js?v=1"></script>
|
||||
<script src="/assets/js/comments+submission_listing.js?v=2"></script>
|
||||
<script src="/assets/js/submission_listing.js?v=10"></script>
|
|
@ -177,6 +177,7 @@
|
|||
{% endif %}
|
||||
|
||||
<form class="d-none profile-toggleable" id="message" action="/@{{u.username}}/message" method="post">
|
||||
<input type="hidden" name="formkey" value="{{v.formkey}}">
|
||||
<pre></pre>
|
||||
<textarea id="input-message" form="message" name="message" rows="3" maxlength="1000" class="form-control b2" required></textarea>
|
||||
<pre></pre>
|
||||
|
@ -460,6 +461,7 @@
|
|||
|
||||
<form class="d-none profile-toggleable-mobile" id='message-mobile' action="/@{{u.username}}/message" method="post">
|
||||
<pre></pre>
|
||||
<input type="hidden" name="formkey" value="{{v.formkey}}">
|
||||
<textarea id="input-message-mobile" form="message-mobile" name="message" rows="3" maxlength="1000" class="form-control" required></textarea>
|
||||
<pre></pre>
|
||||
<pre class="btn btn-secondary format d-inline-block m-0 fas fa-bold" aria-hidden="true" onclick="makeBold('input-message-mobile')" data-bs-toggle="tooltip" data-bs-placement="bottom" data-bs-original-title="Bold"></pre>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue