aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2014-10-20 19:26:01 -0400
committerScott González <scott.gonzalez@gmail.com>2014-10-20 19:26:01 -0400
commit89ed68fb05ed8dff281d0de941a6d1164f2e66f1 (patch)
tree4adecce2a37b82416346a6883dd87d0d5d63a484 /ui
parentb2a477f1bfbe34368d6006c98a9a44e31387e17b (diff)
downloadjquery-ui-89ed68fb05ed8dff281d0de941a6d1164f2e66f1.tar.gz
jquery-ui-89ed68fb05ed8dff281d0de941a6d1164f2e66f1.zip
Core: Removed .focus( delay )
Fixes #9649
Diffstat (limited to 'ui')
-rw-r--r--ui/core.js16
1 files changed, 0 insertions, 16 deletions
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 ( $( "<a>" ).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" :