|
|
@ -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()
|
|
|
|