Partial revert of r80772.
authorDerk-Jan Hartman <hartman@users.mediawiki.org>
Sat, 22 Jan 2011 23:13:59 +0000 (23:13 +0000)
committerDerk-Jan Hartman <hartman@users.mediawiki.org>
Sat, 22 Jan 2011 23:13:59 +0000 (23:13 +0000)
Did not mean to commit that potential but unconfirmed fix for bug 26135

resources/jquery/jquery.placeholder.js

index 024441d..1d3fd67 100644 (file)
@@ -38,7 +38,7 @@ $.fn.placeholder = function() {
                        } )
 
                        // Hide on focus
-                       .bind( 'onfocus ondrop ondragdrop', function() {
+                       .focus( function() {
                                if ($input.hasClass('placeholder')) {
                                        this.value = '';
                                        $input.removeClass( 'placeholder' );