diff options
author | Scott González <scott.gonzalez@gmail.com> | 2016-10-11 09:59:32 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2016-10-11 10:15:04 -0400 |
commit | 0627eb3645009d868ae20a27d0a283acd5797a1f (patch) | |
tree | 8bbc31f1c052b763effe89a4b04cec1fc3756156 /ui/form.js | |
parent | 87eab46a589031d781299937f95f22bf61b5ef27 (diff) | |
download | jquery-ui-0627eb3645009d868ae20a27d0a283acd5797a1f.tar.gz jquery-ui-0627eb3645009d868ae20a27d0a283acd5797a1f.zip |
Form: Rename from `.form()` to `._form()` since its not for public use
Fixes #15074
Closes gh-1760
Diffstat (limited to 'ui/form.js')
-rw-r--r-- | ui/form.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/form.js b/ui/form.js index cfb4bd280..fb0a3c6cf 100644 --- a/ui/form.js +++ b/ui/form.js @@ -13,7 +13,7 @@ // 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 $.fn._form = function() { return typeof this[ 0 ].form === "string" ? this.closest( "form" ) : $( this[ 0 ].form ); }; |