mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-13 09:25:45 +01:00
possible fix to #1148
This commit is contained in:
@@ -7,7 +7,7 @@ define(function() {
|
|||||||
successEl = $('#success'),
|
successEl = $('#success'),
|
||||||
errorTextEl = errorEl.find('p');
|
errorTextEl = errorEl.find('p');
|
||||||
|
|
||||||
$('#reset').onclick = function() {
|
$('#reset').on('click', function() {
|
||||||
if (inputEl.val() && inputEl.val().indexOf('@') !== -1) {
|
if (inputEl.val() && inputEl.val().indexOf('@') !== -1) {
|
||||||
socket.emit('user.reset.send', {
|
socket.emit('user.reset.send', {
|
||||||
email: inputEl.val()
|
email: inputEl.val()
|
||||||
|
|||||||
Reference in New Issue
Block a user