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