Dropped title="" when label is present

Was fucking with jQuery validate.
This commit is contained in:
Josh Sherman 2013-02-01 15:17:05 -05:00
parent 37a3411c12
commit 9c73061a0a
2 changed files with 0 additions and 10 deletions

View file

@ -4224,11 +4224,6 @@ class HTML extends Object
{
$label = $this->label(array('for' => $attributes['name']), $attributes['label']);
if (!isset($attributes['title']))
{
$attributes['title'] = $attributes['label'];
}
unset($attributes['label']);
return $label . $this->$method($attributes);