Skip to content

Commit 9ff7bdd

Browse files
Slight style change
1 parent a4cbcea commit 9ff7bdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/connections/sources/catalog/libraries/website/javascript/upgrade-to-ajs2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ Analytics.js 2.0 asynchronously loads different pieces of the library as needed.
5757

5858
### Using trackLink on elements that are not links
5959

60-
Previously, it was possible to attach `trackLink` to any element, and a trackLink call would fire for that element if it wasn't a link. Now, when you attach `trackLink` to an element, if that element is not a link, an additional search of that element’s children occurs to see if it contains any nested links and fires track calls based off of those links. If you wish to fire track calls on non-link elements that have links as children, you can use a `track` call instead.
60+
Previously, it was possible to attach `trackLink` to any element, and a `trackLink` call would fire for that element if it wasn't a link. Now, when you attach `trackLink` to an element, if that element is not a link, an additional search of that element’s children occurs to see if it contains any nested links and fires track calls based off of those links. If you wish to fire track calls on non-link elements that have links as children, you can use a `track` call instead.

0 commit comments

Comments
 (0)