comparison src/chat.js @ 32:0f40501b0b56

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Sat, 09 Nov 2024 21:41:11 -0700
parents a0820965ba04
children e2b7f6393dab
comparison
equal deleted inserted replaced
31:a0820965ba04 32:0f40501b0b56
212 212
213 function resync(updated) { 213 function resync(updated) {
214 lastUpdate = updated; 214 lastUpdate = updated;
215 currentChatId = null; 215 currentChatId = null;
216 document.querySelector('div[posts]').innerHTML = ''; 216 document.querySelector('div[posts]').innerHTML = '';
217 back();
217 ajax('get_chats.js'); 218 ajax('get_chats.js');
218 } 219 }
219 220
220 let sound = new Audio('/images/notify.mp3'); 221 let sound = new Audio('/images/notify.mp3');
221 function notify() { 222 function notify() {