aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.core.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-12-12 11:22:08 -0500
committerScott González <scott.gonzalez@gmail.com>2012-12-12 11:22:08 -0500
commitff78d0bbce07e4fc45caff84a740408af4909d2c (patch)
treef1e4710c449bab9fd6df1bddfd5e3b919097212d /ui/jquery.ui.core.js
parentf5aaf874e9563ef90a1dec35700732acd58e8b43 (diff)
downloadjquery-ui-ff78d0bbce07e4fc45caff84a740408af4909d2c.tar.gz
jquery-ui-ff78d0bbce07e4fc45caff84a740408af4909d2c.zip
Core: Moved selectstart support test to deprecated section.
Diffstat (limited to 'ui/jquery.ui.core.js')
-rw-r--r--ui/jquery.ui.core.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/ui/jquery.ui.core.js b/ui/jquery.ui.core.js
index bd3e30758..4ad4f8a09 100644
--- a/ui/jquery.ui.core.js
+++ b/ui/jquery.ui.core.js
@@ -180,9 +180,6 @@ $.extend( $.expr[ ":" ], {
}
});
-// support
-$.support.selectstart = "onselectstart" in document.createElement( "div" );
-
// support: jQuery <1.8
if ( !$( "<a>" ).outerWidth( 1 ).jquery ) {
$.each( [ "Width", "Height" ], function( i, name ) {
@@ -250,6 +247,7 @@ if ( $( "<a>" ).data( "a-b", "a" ).removeData( "a-b" ).data( "a-b" ) ) {
// deprecated
$.ui.ie = !!/msie [\w.]+/.exec( navigator.userAgent.toLowerCase() );
+$.support.selectstart = "onselectstart" in document.createElement( "div" );
$.fn.extend({
disableSelection: function() {
return this.bind( ( $.support.selectstart ? "selectstart" : "mousedown" ) +