Skip to content

Commit 0abeff2

Browse files
minor text changes
1 parent 248d715 commit 0abeff2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/static-site/src/utils/watchDataLayerBookmarklet.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
, styleDefault = '\x1B[0;3m'
88
, styleHeading = '\x1B[0;34;1m'
99
/* provide a global variable */
10-
, tableFnName = 'dlEvents';
10+
, tableFnName = 'showDataLayerTable';
1111
/* display all watched events as console table */
1212
w[tableFnName] = () => console.table(dl.slice().filter(i =>
1313
typeof i.name !== 'undefined'));
@@ -24,10 +24,10 @@
2424
}
2525
});
2626
alert(`DataLayer events will be displayed in console. Rerun bookmarklet or
27-
call ${tableFnName}() from the console to display a table of all events.\n\n
27+
call ${tableFnName}() from the console to display a table of all events.\n\n
2828
2929
A prompt will warn you before leaving the page, this is normal and will allow
30-
you to inspect the dataLayer events, that would have reloaded the page.\n\n
30+
you to inspect the dataLayer events, that would have reloaded the page.\n\n
3131
3232
Follow the prompt to reload or leave the page if you are done watching events.`);
3333
w.onbeforeunload = (e) => '';

0 commit comments

Comments
 (0)