Skip to content

Commit

Permalink
Fix use of dataset API in findCalendarGuid test-helper (#466)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickschot committed Apr 8, 2024
1 parent 2da4dbc commit 3ef7778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ember-power-calendar/src/test-support/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function findCalendarGuid(selector: string): string | undefined {
if (maybeCalendar.classList.contains('ember-power-calendar')) {
return maybeCalendar.id;
} else {
return (maybeCalendar as HTMLElement).dataset['dataPowerCalendarId'];
return (maybeCalendar as HTMLElement).dataset['powerCalendarId'];
}
}

Expand Down

0 comments on commit 3ef7778

Please sign in to comment.