Skip to content

Commit

Permalink
updated tracking and stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
nickhudson committed Jun 7, 2024
1 parent 3a32fe5 commit 89ddca3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions dark-modeify-me/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -536,8 +536,8 @@ label[for=upload] {
font-size: 12px;
}

#form-upload {
max-width: 24em;
#form-upload, .pop-wrapper {
max-width: 40em;
}

.pop-arrow {
Expand Down
2 changes: 1 addition & 1 deletion dark-modeify-me/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ <h3>Transform Your Email to Dark Mode!</h3>
<h3>Compatibility Notes:</h3>
<ul>
<li>Supported file types: .html, .htm, (coming soon: .eml)</li>
<li>Optimal email width: 600px to 700px</li>
<li>Required email width: 600px to 700px</li>
</ul>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions dark-modeify-me/scripts/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,20 @@ function trackInput(event='') {
gtag('event', 'user_input', {
input_type: event?.type,
js_name: event?.constructor.name,
value:
input_html:
targ.value ||
targ.outerHTML ||
targ.innerHTML ||
targ.alt ||
'input',
'N/A',
description:
targ.name ||
targ.alt ||
targ.innerText ||
targ.outerText ||
label?.innerText ||
targ.placeholder ||
'N/A'
'input'
});
}
}
Expand Down

0 comments on commit 89ddca3

Please sign in to comment.