Skip to content

Commit 049fdab

Browse files
committed
remove unused vars
1 parent bd9781d commit 049fdab

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/js/01-nav.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,11 @@
6262

6363
const url = target.value
6464

65-
if (window.ga) {
66-
window.ga('send', 'event', 'version-select', 'From: ' + current + ';To:' + next + ';')
67-
}
65+
// temporarily disable analytics for selector-versions
66+
// because it is broken after a recent preact bundle.js change
67+
// if (window.ga) {
68+
// window.ga('send', 'event', 'version-select', 'From: ' + current + ';To:' + next + ';')
69+
// }
6870

6971
document.location.assign(url)
7072
})

0 commit comments

Comments
 (0)