This commit is contained in:
Webifi 2023-05-27 11:27:23 -05:00
parent c8bcb39865
commit a4f4475682
1 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@
noEdit = message.summarized
})
function edit (msgid) {
const edit = (msgid) => {
if (noEdit) return
editing = true
setTimeout(() => {
@ -40,12 +40,12 @@
}
let dbnc
function update () {
const update = () => {
clearTimeout(dbnc)
dbnc = setTimeout(() => { doChange() }, 250)
}
function doChange () {
const doChange = () => {
if (message.content !== original) {
dispatch('change', message)
}