Commit 96981bb6 authored by alexpott's avatar alexpott

Issue #1684802 by nod_: JSHint form.js.

parent 12d17608
...@@ -66,7 +66,6 @@ Drupal.behaviors.fillUserInfoFromCookie = { ...@@ -66,7 +66,6 @@ Drupal.behaviors.fillUserInfoFromCookie = {
attach: function (context, settings) { attach: function (context, settings) {
var userInfo = ['name', 'mail', 'homepage']; var userInfo = ['name', 'mail', 'homepage'];
$('form.user-info-from-cookie').once('user-info-from-cookie', function () { $('form.user-info-from-cookie').once('user-info-from-cookie', function () {
var formContext = this;
var $formContext = $(this); var $formContext = $(this);
var i, il, $element, cookie; var i, il, $element, cookie;
for (i = 0, il = userInfo.length; i < il; i += 1) { for (i = 0, il = userInfo.length; i < il; i += 1) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment