wp core update 6.6
This commit is contained in:
24
wp/wp-includes/js/jquery/ui/draggable.js
vendored
24
wp/wp-includes/js/jquery/ui/draggable.js
vendored
@@ -1,17 +1,17 @@
|
||||
/*!
|
||||
* jQuery UI Draggable 1.13.2
|
||||
* http://jqueryui.com
|
||||
* jQuery UI Draggable 1.13.3
|
||||
* https://jqueryui.com
|
||||
*
|
||||
* Copyright jQuery Foundation and other contributors
|
||||
* Copyright OpenJS Foundation and other contributors
|
||||
* Released under the MIT license.
|
||||
* http://jquery.org/license
|
||||
* https://jquery.org/license
|
||||
*/
|
||||
|
||||
//>>label: Draggable
|
||||
//>>group: Interactions
|
||||
//>>description: Enables dragging functionality for any element.
|
||||
//>>docs: http://api.jqueryui.com/draggable/
|
||||
//>>demos: http://jqueryui.com/draggable/
|
||||
//>>docs: https://api.jqueryui.com/draggable/
|
||||
//>>demos: https://jqueryui.com/draggable/
|
||||
//>>css.structure: ../../themes/base/draggable.css
|
||||
|
||||
( function( factory ) {
|
||||
@@ -23,7 +23,13 @@
|
||||
define( [
|
||||
"jquery",
|
||||
"./mouse",
|
||||
"./core"
|
||||
"../data",
|
||||
"../plugin",
|
||||
"../safe-active-element",
|
||||
"../safe-blur",
|
||||
"../scroll-parent",
|
||||
"../version",
|
||||
"../widget"
|
||||
], factory );
|
||||
} else {
|
||||
|
||||
@@ -34,7 +40,7 @@
|
||||
"use strict";
|
||||
|
||||
$.widget( "ui.draggable", $.ui.mouse, {
|
||||
version: "1.13.2",
|
||||
version: "1.13.3",
|
||||
widgetEventPrefix: "drag",
|
||||
options: {
|
||||
addClasses: true,
|
||||
@@ -380,7 +386,7 @@ $.widget( "ui.draggable", $.ui.mouse, {
|
||||
o.appendTo ) );
|
||||
}
|
||||
|
||||
// Http://bugs.jqueryui.com/ticket/9446
|
||||
// https://bugs.jqueryui.com/ticket/9446
|
||||
// a helper function can return the original element
|
||||
// which wouldn't have been set to relative in _create
|
||||
if ( helperIsFunction && helper[ 0 ] === this.element[ 0 ] ) {
|
||||
|
||||
Reference in New Issue
Block a user