aboutsummaryrefslogtreecommitdiffstats
path: root/ui/form-reset-mixin.js
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2024-05-01 00:54:19 +0200
committerMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2024-05-15 00:38:40 +0200
commitbb49bd794bc8ea4238162725b518fb46234f3cf9 (patch)
treedb7b6152daac9f2c6b5fd051ab5d3b7ec7382791 /ui/form-reset-mixin.js
parentdaa6fb55b35065c49c0ffc879c94627bbf85404c (diff)
downloadjquery-ui-bb49bd794bc8ea4238162725b518fb46234f3cf9.tar.gz
jquery-ui-bb49bd794bc8ea4238162725b518fb46234f3cf9.zip
All: Drop support for IE & some other browsers (but mostly IE)
Closes gh-2249
Diffstat (limited to 'ui/form-reset-mixin.js')
-rw-r--r--ui/form-reset-mixin.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/form-reset-mixin.js b/ui/form-reset-mixin.js
index a60299d13..9a2e73aac 100644
--- a/ui/form-reset-mixin.js
+++ b/ui/form-reset-mixin.js
@@ -20,7 +20,6 @@
// AMD. Register as an anonymous module.
define( [
"jquery",
- "./form",
"./version"
], factory );
} else {
@@ -45,7 +44,7 @@ return $.ui.formResetMixin = {
},
_bindFormResetHandler: function() {
- this.form = this.element._form();
+ this.form = $( this.element.prop( "form" ) );
if ( !this.form.length ) {
return;
}