diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2021-05-14 23:37:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-14 23:37:19 +0200 |
commit | 7c6a9f01281a9739f54ef57d7deecb41a873ef38 (patch) | |
tree | b817231c1c6098c41a44713c5e8f2ad428b18457 /ui/widgets/checkboxradio.js | |
parent | afe20b79a64266e64011f34b26a30b3d1c62fd47 (diff) | |
download | jquery-ui-7c6a9f01281a9739f54ef57d7deecb41a873ef38.tar.gz jquery-ui-7c6a9f01281a9739f54ef57d7deecb41a873ef38.zip |
All: Drop $.ui.escapeSelector in favor of $.escapeSelector
Fixes #14991
Closes gh-1957
Diffstat (limited to 'ui/widgets/checkboxradio.js')
-rw-r--r-- | ui/widgets/checkboxradio.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/widgets/checkboxradio.js b/ui/widgets/checkboxradio.js index 228c9fab9..0cb1a0cf8 100644 --- a/ui/widgets/checkboxradio.js +++ b/ui/widgets/checkboxradio.js @@ -23,7 +23,6 @@ // AMD. Register as an anonymous module. define( [ "jquery", - "../escape-selector", "../form-reset-mixin", "../labels", "../widget" @@ -149,7 +148,7 @@ $.widget( "ui.checkboxradio", [ $.ui.formResetMixin, { _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 $( [] ); |