Skip to content

Commit

Permalink
refactor: script
Browse files Browse the repository at this point in the history
  • Loading branch information
seanho96 committed Apr 15, 2021
1 parent effb06b commit 89691a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/cookie.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function toISOFormat(date) {
} else {
// If the user comes to the site for the first time without any URL params
// Only set the utm_data to deriv_direct if the user does not have utm_data cookies stored
if (getCookie("utm_data") == undefined) {
if (!getCookie("utm_data")) {
const utm_source = "deriv_direct";

utm_data = {
Expand Down

0 comments on commit 89691a9

Please sign in to comment.