diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2022-01-12 23:23:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-12 23:23:10 +0100 |
commit | 95e34b69554cf9d3a52e4d932e581344990f60fa (patch) | |
tree | 4aca24707bcfb4ca7312e21f29e4ecf469ffcd1e /src/event | |
parent | fa70e8fd3cfcf1ecee33d1ebcbc987d48bb208f4 (diff) | |
download | jquery-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/event')
-rw-r--r-- | src/event/trigger.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/event/trigger.js b/src/event/trigger.js index 2f5e65e05..28ec6b361 100644 --- a/src/event/trigger.js +++ b/src/event/trigger.js @@ -75,8 +75,8 @@ jQuery.extend( jQuery.event, { return; } - // Determine event propagation path in advance, per W3C events spec (#9951) - // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + // Determine event propagation path in advance, per W3C events spec (trac-9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (trac-9724) if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) { bubbleType = special.delegateType || type; @@ -128,7 +128,7 @@ jQuery.extend( jQuery.event, { acceptData( elem ) ) { // Call a native DOM method on the target with the same name as the event. - // Don't do default actions on window, that's where global variables be (#6170) + // Don't do default actions on window, that's where global variables be (trac-6170) if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) { // Don't re-trigger an onFOO event when we call its FOO() method |