Skip to content

Commit b87010c

Browse files
committed
Checkboxradio: Fixing refrence to ownerDocument
1 parent 7427582 commit b87010c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/checkboxradio.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ $.widget( "ui.checkboxradio", {
178178
if ( form ) {
179179
radios = $( form ).find( "[name='" + name + "']" );
180180
} else {
181-
radios = $( "[name='" + name + "']", radio.ownerDocument )
181+
radios = $( "[name='" + name + "']", this.document )
182182
.filter(function() {
183183
return !this.form;
184184
});

0 commit comments

Comments
 (0)