From 3c6e4ebda1e8f3b3289e0e88ed1e4322c178de86 Mon Sep 17 00:00:00 2001 From: Baris Soner Usakli Date: Sat, 1 Mar 2014 17:11:49 -0500 Subject: [PATCH 1/2] possible fix to #1148 --- public/src/forum/reset.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() From 42a7c037e6d4efa0df873447a71d5db7607771a7 Mon Sep 17 00:00:00 2001 From: Baris Soner Usakli Date: Sat, 1 Mar 2014 17:36:29 -0500 Subject: [PATCH 2/2] removed dupe i var --- src/categories.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/categories.js b/src/categories.js index 7709f33f64..fb8e9b5990 100644 --- a/src/categories.js +++ b/src/categories.js @@ -104,12 +104,13 @@ var db = require('./database'), }); } - var indices = {}; - for(var i=0; i