aboutsummaryrefslogtreecommitdiffstats
path: root/src/attributes/val.js
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2022-01-12 23:23:10 +0100
committerGitHub <noreply@github.com>2022-01-12 23:23:10 +0100
commit95e34b69554cf9d3a52e4d932e581344990f60fa (patch)
tree4aca24707bcfb4ca7312e21f29e4ecf469ffcd1e /src/attributes/val.js
parentfa70e8fd3cfcf1ecee33d1ebcbc987d48bb208f4 (diff)
downloadjquery-95e34b69554cf9d3a52e4d932e581344990f60fa.tar.gz
jquery-95e34b69554cf9d3a52e4d932e581344990f60fa.zip
Docs: Replace `#NUMBER` Trac issue references with `trac-NUMBER`
This is a version of gh-4993 for the `3.x-stable` branch. The GitHub UI treats `#NUMBER` as referring to its own issues which is confusing when in jQuery source it's usually referring to the old deprecated Trac instance at https://bugs.jquery.com. This change replaces all such Trac references with `trac-NUMBER`. A few of the references came with the Sizzle integration and referred to the Sizzle GitHub bug tracker. Those have been replaced with full links instead. A new entry describing issue reference conventions has been added to README. Closes gh-4994 Ref gh-4993 Ref 5d5ea015114092c157311c4948f7cc3d8c8e7f8a
Diffstat (limited to 'src/attributes/val.js')
-rw-r--r--src/attributes/val.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/attributes/val.js b/src/attributes/val.js
index c719b34b3..2879a626c 100644
--- a/src/attributes/val.js
+++ b/src/attributes/val.js
@@ -91,7 +91,7 @@ jQuery.extend( {
val :
// Support: IE <=10 - 11 only
- // option.text throws exceptions (#14686, #14858)
+ // option.text throws exceptions (trac-14686, trac-14858)
// Strip and collapse whitespace
// https://html.spec.whatwg.org/#strip-and-collapse-whitespace
stripAndCollapse( jQuery.text( elem ) );
@@ -118,7 +118,7 @@ jQuery.extend( {
option = options[ i ];
// Support: IE <=9 only
- // IE8-9 doesn't update selected after form reset (#2551)
+ // IE8-9 doesn't update selected after form reset (trac-2551)
if ( ( option.selected || i === index ) &&
// Don't return options that are disabled or in a disabled optgroup