Skip to content

Commit

Permalink
remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
Fedik committed Jan 15, 2015
1 parent da813ef commit 61d3161
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions media/system/js/validate-uncompressed.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
var JFormValidator = function() {
"use strict";
var $, handlers, inputEmail, custom,
var handlers, inputEmail, custom,

setHandler = function(name, fn, en) {
en = (en === '') ? true : en;
Expand Down Expand Up @@ -135,7 +135,7 @@ var JFormValidator = function() {
$form = jQuery(form);
// Iterate through the form object and attach the validate method to all input fields.
$form.find('input, textarea, select, fieldset, button').each(function() {
var $el = $(this), tagName = $el.prop("tagName").toLowerCase();
var $el = jQuery(this), tagName = $el.prop("tagName").toLowerCase();
if ($el.hasClass('required')) {
$el.attr('aria-required', 'true').attr('required', 'required');
}
Expand All @@ -162,7 +162,6 @@ var JFormValidator = function() {
},

initialize = function() {
$ = jQuery.noConflict();
handlers = {};
custom = custom || {};

Expand Down

0 comments on commit 61d3161

Please sign in to comment.