Skip to content
This repository was archived by the owner on Oct 21, 2024. It is now read-only.

Commit e73d004

Browse files
tyomo4kamhadam
authored andcommitted
Make newDocumentTitle variable local (close snowplow#580)
1 parent 0da58af commit e73d004

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/js/tracker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1510,7 +1510,7 @@
15101510
*/
15111511
function logPagePing(context) {
15121512
refreshUrl();
1513-
newDocumentTitle = documentAlias.title;
1513+
var newDocumentTitle = documentAlias.title;
15141514
if (newDocumentTitle !== lastDocumentTitle) {
15151515
lastDocumentTitle = newDocumentTitle;
15161516
lastConfigTitle = null;

0 commit comments

Comments
 (0)