aboutsummaryrefslogtreecommitdiffstats
path: root/ui/form.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/form.js')
-rw-r--r--ui/form.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/ui/form.js b/ui/form.js
deleted file mode 100644
index 60b052277..000000000
--- a/ui/form.js
+++ /dev/null
@@ -1,23 +0,0 @@
-( function( factory ) {
- "use strict";
-
- if ( typeof define === "function" && define.amd ) {
-
- // AMD. Register as an anonymous module.
- define( [ "jquery", "./version" ], factory );
- } else {
-
- // Browser globals
- factory( jQuery );
- }
-} )( function( $ ) {
-"use strict";
-
-// 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.
-return $.fn._form = function() {
- return typeof this[ 0 ].form === "string" ? this.closest( "form" ) : $( this[ 0 ].form );
-};
-
-} );