Skip to content

Commit b7da672

Browse files
committed
Hide hidden ticket notation in ticketHead
1 parent cebc6bd commit b7da672

5 files changed

Lines changed: 11 additions & 5 deletions

File tree

dist/engrid.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*
2020
* ENGRID PAGE TEMPLATE ASSETS
2121
*
22-
* Date: Tuesday, May 12, 2026 @ 16:30:45 ET
22+
* Date: Tuesday, May 12, 2026 @ 17:10:24 ET
2323
* By: nick
2424
* ENGrid styles: v0.25.0
2525
* ENGrid scripts: v0.25.1

dist/engrid.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*
1818
* ENGRID PAGE TEMPLATE ASSETS
1919
*
20-
* Date: Tuesday, May 12, 2026 @ 16:30:45 ET
20+
* Date: Tuesday, May 12, 2026 @ 17:10:24 ET
2121
* By: nick
2222
* ENGrid styles: v0.25.0
2323
* ENGrid scripts: v0.25.1
@@ -51175,6 +51175,9 @@ class EventPages {
5117551175
}
5117651176
}
5117751177
updateRegistrantsFieldsets() {
51178+
document.querySelectorAll(".en__registrants__ticketHead").forEach(header => {
51179+
header.textContent = header.textContent?.replace(/\/.*(?= ticket \d+$)/, '') || "";
51180+
});
5117851181
document.querySelectorAll(".en__registrants__registrantDetails").forEach(element => {
5117951182
element.classList.add("i1-50", "i2-50");
5118051183
element.querySelectorAll(".en__field").forEach(field => {

dist/engrid.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/engrid.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/scripts/event-pages.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,9 @@ export class EventPages {
302302
}
303303

304304
private updateRegistrantsFieldsets() {
305+
document.querySelectorAll(".en__registrants__ticketHead").forEach((header => {
306+
header.textContent = header.textContent?.replace(/\/.*(?= ticket \d+$)/, '') || "";
307+
}));
305308
document.querySelectorAll(".en__registrants__registrantDetails").forEach((element) => {
306309
element.classList.add("i1-50", "i2-50");
307310
element.querySelectorAll(".en__field").forEach((field) => {

0 commit comments

Comments
 (0)