--- a/wp/wp-includes/js/jquery/ui/selectable.js Thu Sep 29 08:06:27 2022 +0200
+++ b/wp/wp-includes/js/jquery/ui/selectable.js Fri Sep 05 18:40:08 2025 +0200
@@ -1,17 +1,17 @@
/*!
- * jQuery UI Selectable 1.13.1
- * http://jqueryui.com
+ * jQuery UI Selectable 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: Selectable
//>>group: Interactions
//>>description: Allows groups of elements to be selected with the mouse.
-//>>docs: http://api.jqueryui.com/selectable/
-//>>demos: http://jqueryui.com/selectable/
+//>>docs: https://api.jqueryui.com/selectable/
+//>>demos: https://jqueryui.com/selectable/
//>>css.structure: ../../themes/base/selectable.css
( function( factory ) {
@@ -23,7 +23,8 @@
define( [
"jquery",
"./mouse",
- "./core"
+ "../version",
+ "../widget"
], factory );
} else {
@@ -34,7 +35,7 @@
"use strict";
return $.widget( "ui.selectable", $.ui.mouse, {
- version: "1.13.1",
+ version: "1.13.3",
options: {
appendTo: "body",
autoRefresh: true,
@@ -210,10 +211,10 @@
if ( options.tolerance === "touch" ) {
hit = ( !( offset.left > x2 || offset.right < x1 || offset.top > y2 ||
- offset.bottom < y1 ) );
+ offset.bottom < y1 ) );
} else if ( options.tolerance === "fit" ) {
hit = ( offset.left > x1 && offset.right < x2 && offset.top > y1 &&
- offset.bottom < y2 );
+ offset.bottom < y2 );
}
if ( hit ) {