File tree Expand file tree Collapse file tree 1 file changed +14
-11
lines changed Expand file tree Collapse file tree 1 file changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -125,17 +125,6 @@ $.fn.extend({
125
125
$ ( this ) . removeAttr ( "id" ) ;
126
126
}
127
127
} ) ;
128
- } ,
129
-
130
- disableSelection : function ( ) {
131
- return this . bind ( ( $ . support . selectstart ? "selectstart" : "mousedown" ) +
132
- ".ui-disableSelection" , function ( event ) {
133
- event . preventDefault ( ) ;
134
- } ) ;
135
- } ,
136
-
137
- enableSelection : function ( ) {
138
- return this . unbind ( ".ui-disableSelection" ) ;
139
128
}
140
129
} ) ;
141
130
@@ -268,6 +257,20 @@ $(function() {
268
257
269
258
270
259
// deprecated
260
+
261
+ $ . fn . extend ( {
262
+ disableSelection : function ( ) {
263
+ return this . bind ( ( $ . support . selectstart ? "selectstart" : "mousedown" ) +
264
+ ".ui-disableSelection" , function ( event ) {
265
+ event . preventDefault ( ) ;
266
+ } ) ;
267
+ } ,
268
+
269
+ enableSelection : function ( ) {
270
+ return this . unbind ( ".ui-disableSelection" ) ;
271
+ }
272
+ } ) ;
273
+
271
274
$ . extend ( $ . ui , {
272
275
// $.ui.plugin is deprecated. Use the proxy pattern instead.
273
276
plugin : {
You can’t perform that action at this time.
0 commit comments