desktop safari chat resize handhold. mind the gap

This commit is contained in:
RossAscends
2023-07-14 01:46:23 +09:00
parent 298952e591
commit 95700dbe3e
2 changed files with 9 additions and 2 deletions

View File

@@ -1102,7 +1102,7 @@ function doRandomChat() {
}
async function doMesCut(_, text) {
console.debug(`was asked to cut message id #${text}`)
//reject invalid args or no args
if (text && isNaN(text) || !text) {
toastr.error(`Must enter a single number only, non-number characters disallowed.`)
@@ -1110,7 +1110,7 @@ async function doMesCut(_, text) {
}
//reject attempts to delete firstmes
if (text === 0) {
if (text === '0') {
toastr.error('Cannot delete the First Message')
return
}