diff --git a/www/form/main.js b/www/form/main.js index 102ed9bf9..10b89b24e 100644 --- a/www/form/main.js +++ b/www/form/main.js @@ -51,7 +51,7 @@ define([ var cursorTypes = ['textarea', 'password', 'text']; var canonicalize = function (text) { return text.replace(/\r\n/g, '\n'); }; - $elements.each(function (element) { + $elements.each(function (index, element) { var $this = $(this); var id = uid();