From 89ed68fb05ed8dff281d0de941a6d1164f2e66f1 Mon Sep 17 00:00:00 2001 From: Scott González Date: Mon, 20 Oct 2014 19:26:01 -0400 Subject: Core: Removed .focus( delay ) Fixes #9649 --- ui/core.js | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'ui/core.js') diff --git a/ui/core.js b/ui/core.js index 0bcb46aa7..652884e6b 100644 --- a/ui/core.js +++ b/ui/core.js @@ -209,22 +209,6 @@ if ( $( "" ).data( "a-b", "a" ).removeData( "a-b" ).data( "a-b" ) ) { $.ui.ie = !!/msie [\w.]+/.exec( navigator.userAgent.toLowerCase() ); $.fn.extend({ - focus: (function( orig ) { - return function( delay, fn ) { - return typeof delay === "number" ? - this.each(function() { - var elem = this; - setTimeout(function() { - $( elem ).focus(); - if ( fn ) { - fn.call( elem ); - } - }, delay ); - }) : - orig.apply( this, arguments ); - }; - })( $.fn.focus ), - disableSelection: (function() { var eventType = "onselectstart" in document.createElement( "div" ) ? "selectstart" : -- cgit v1.2.3