Fix #1179.
This commit is contained in:
parent
70daa0352d
commit
48a7837338
@ -44,9 +44,8 @@ DeleteLink =
|
||||
return if DeleteLink.cooldown.counting is post
|
||||
|
||||
$.off @, 'click', DeleteLink.delete
|
||||
@textContent = "Deleting #{@textContent}..."
|
||||
|
||||
fileOnly = $.hasClass @, 'delete-file'
|
||||
@textContent = "Deleting #{if fileOnly then 'file' else 'post'}..."
|
||||
|
||||
form =
|
||||
mode: 'usrdel'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user