--- a/wp/wp-includes/js/jquery/ui/checkboxradio.js Wed Sep 21 18:19:35 2022 +0200
+++ b/wp/wp-includes/js/jquery/ui/checkboxradio.js Tue Sep 27 16:37:53 2022 +0200
@@ -1,5 +1,5 @@
/*!
- * jQuery UI Checkboxradio 1.12.1
+ * jQuery UI Checkboxradio 1.13.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
@@ -18,6 +18,8 @@
//>>css.theme: ../../themes/base/theme.css
( function( factory ) {
+ "use strict";
+
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
@@ -30,10 +32,11 @@
// Browser globals
factory( jQuery );
}
-}( function( $ ) {
+} )( function( $ ) {
+"use strict";
$.widget( "ui.checkboxradio", [ $.ui.formResetMixin, {
- version: "1.12.1",
+ version: "1.13.1",
options: {
disabled: null,
label: null,
@@ -112,9 +115,6 @@
if ( checked ) {
this._addClass( this.label, "ui-checkboxradio-checked", "ui-state-active" );
- if ( this.icon ) {
- this._addClass( this.icon, null, "ui-state-hover" );
- }
}
this._on( {
@@ -149,7 +149,7 @@
_getRadioGroup: function() {
var group;
var name = this.element[ 0 ].name;
- var nameSelector = "input[name='" + $.ui.escapeSelector( name ) + "']";
+ var nameSelector = "input[name='" + $.escapeSelector( name ) + "']";
if ( !name ) {
return $( [] );
@@ -161,7 +161,7 @@
// Not inside a form, check all inputs that also are not inside a form
group = $( nameSelector ).filter( function() {
- return $( this ).form().length === 0;
+ return $( this )._form().length === 0;
} );
}
@@ -280,4 +280,4 @@
return $.ui.checkboxradio;
-} ) );
+} );