aboutsummaryrefslogtreecommitdiffstats
path: root/ui/core.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/core.js')
-rw-r--r--ui/core.js8
1 files changed, 1 insertions, 7 deletions
diff --git a/ui/core.js b/ui/core.js
index fe627dea6..fc91c2742 100644
--- a/ui/core.js
+++ b/ui/core.js
@@ -24,6 +24,7 @@
"./disable-selection",
"./escape-selector",
"./focusable",
+ "./form",
"./version"
], factory );
} else {
@@ -131,13 +132,6 @@ $.fn.extend( {
} );
},
- // Support: IE8 Only
- // IE8 does not support the form attribute and when it is supplied. It overwrites the form prop
- // with a string, so we need to find the proper form.
- form: function() {
- return typeof this[ 0 ].form === "string" ? this.closest( "form" ) : $( this[ 0 ].form );
- },
-
labels: function() {
var ancestor, selector, id, labels, ancestors;