Skip to content

Commit

Permalink
fix undefined message
Browse files Browse the repository at this point in the history
  • Loading branch information
RayBB committed Nov 9, 2024
1 parent ba0eeb4 commit 08267cf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ <h1 id="ticker" class="card-title pricing-card-title">Loading...</h1>
.catch(err => { throw err });

let curStock = "";
newStock();
document.querySelector("#yahoo").addEventListener('click', () => gtag('event', 'Yahoo', { 'event_category': 'Open', 'event_label': curStock, }));
document.querySelector("#robinhood").addEventListener('click', () => gtag('event', 'Robinhood', { 'event_category': 'Open', 'event_label': curStock, }));
document.querySelector("#refresh").addEventListener('click', () => gtag('event', 'refresh', { 'event_category': 'Stock', 'event_label': curStock, }));
Expand Down

0 comments on commit 08267cf

Please sign in to comment.