Skip to content

Node.js based forum software built for the modern web

possible fix to #1148

Baris Soner Usakli3c6e4ebda1e8
diff --git a/public/src/forum/reset.js b/public/src/forum/reset.js
index f67e1a28b8..445d8c897f 100644
--- a/public/src/forum/reset.js
+++ b/public/src/forum/reset.js
@@ -7,7 +7,7 @@ define(function() {
successEl = $('#success'),
errorTextEl = errorEl.find('p');
- $('#reset').onclick = function() {
+ $('#reset').on('click', function() {
if (inputEl.val() && inputEl.val().indexOf('@') !== -1) {
socket.emit('user.reset.send', {
email: inputEl.val()