Skip to content
This repository was archived by the owner on May 29, 2021. It is now read-only.

Commit 852a970

Browse files
committed
Remove leftovers.
1 parent 9e7361a commit 852a970

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Posting/QR.coffee

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,6 @@ QR =
455455
# Use it to extend the QR's functionalities, or for XTRM RICE.
456456
$.event 'QRDialogCreation', null, dialog
457457

458-
preSubmitHooks: []
459458
submit: (e, dismiss) ->
460459
e?.preventDefault()
461460

@@ -495,9 +494,6 @@ QR =
495494
"""
496495
$.on ($ 'button', err), 'click', ->
497496
QR.submit null, true
498-
else for hook in QR.preSubmitHooks
499-
if err = hook post, thread
500-
break
501497

502498
if QR.captcha.isEnabled and !err
503499
{challenge, response} = QR.captcha.getOne()

0 commit comments

Comments
 (0)