1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-13 20:25:57 +01:00

Add omitted defer, remove debug statement.

This commit is contained in:
Juliusz Chroboczek 2022-09-09 14:58:32 +02:00
parent 74a1243947
commit eefe763a9f
2 changed files with 1 additions and 2 deletions

View file

@ -278,7 +278,7 @@
<script src="/protocol.js" defer></script> <script src="/protocol.js" defer></script>
<script src="/external/toastify/toastify.js" defer></script> <script src="/external/toastify/toastify.js" defer></script>
<script src="/external/contextual/contextual.js"></script> <script src="/external/contextual/contextual.js" defer></script>
<script src="/galene.js" defer></script> <script src="/galene.js" defer></script>
</body> </body>
</html> </html>

View file

@ -2598,7 +2598,6 @@ function addToChatbox(peerId, dest, nick, time, privileged, history, kind, messa
lastMessage.peerId !== (peerId || null) || lastMessage.peerId !== (peerId || null) ||
lastMessage.dest !== (dest || null) || lastMessage.dest !== (dest || null) ||
!time || !lastMessage.time) { !time || !lastMessage.time) {
console.log("A", nick, peerId, dest, time, lastMessage.time);
doHeader = true; doHeader = true;
} else { } else {
let delta = time - lastMessage.time; let delta = time - lastMessage.time;