From 9c73061a0a4340eaf1fd6089f5fe562d84122f7c Mon Sep 17 00:00:00 2001 From: Josh Sherman Date: Fri, 1 Feb 2013 15:17:05 -0500 Subject: [PATCH] Dropped title="" when label is present Was fucking with jQuery validate. --- classes/HTML.php | 5 ----- jar.php | 5 ----- 2 files changed, 10 deletions(-) diff --git a/classes/HTML.php b/classes/HTML.php index 0bc4207..6d36120 100644 --- a/classes/HTML.php +++ b/classes/HTML.php @@ -65,11 +65,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); diff --git a/jar.php b/jar.php index b84b131..d20a906 100755 --- a/jar.php +++ b/jar.php @@ -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);