This commit is contained in:
James Campos 2011-09-03 13:17:02 -07:00
parent 4de10a54d2
commit a6693e9f3a
2 changed files with 2 additions and 2 deletions

View File

@ -1389,7 +1389,7 @@
} }
QR.captchaPush(this); QR.captchaPush(this);
e.preventDefault(); e.preventDefault();
return e.submit(); return QR.submit();
}, },
quote: function(e) { quote: function(e) {
var i, ss, ta, text, v; var i, ss, ta, text, v;

View File

@ -1093,7 +1093,7 @@ QR =
return unless e.keyCode is 13 and @value #enter, captcha filled return unless e.keyCode is 13 and @value #enter, captcha filled
QR.captchaPush @ QR.captchaPush @
e.preventDefault() e.preventDefault()
e.submit() #derpy, but prevents calling QR.hasContent twice QR.submit() #derpy, but prevents calling QR.hasContent twice
quote: (e) -> quote: (e) ->
e.preventDefault() e.preventDefault()
text = ">>#{@textContent}\n" text = ">>#{@textContent}\n"