Skip to content

Commit

Permalink
Fixed typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
joselrio committed Jan 23, 2025
1 parent 67370e3 commit 4cf140a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scripts/OSFramework/OSUI/Pattern/Rating/Rating.ts
Original file line number Diff line number Diff line change
Expand Up @@ -470,9 +470,9 @@ namespace OSFramework.OSUI.Patterns.Rating {
let placeholdersOuterHTML = '';

// Iterate over the cloned placeholders to redefine the id attribute
for (const placholder of this._clonedPlaceholders) {
for (const placeholder of this._clonedPlaceholders) {
// Get a clone of the placeholder to avoid changing the original (HTML Element)
const clonedPlaceholder = placholder.cloneNode(true) as HTMLElement;
const clonedPlaceholder = placeholder.cloneNode(true) as HTMLElement;
// Update the id attribute to contains the related rating index
clonedPlaceholder.id = `${clonedPlaceholder.id}-rating-${ratingIndex}`;
// Append the outerHTML to the placeholdersOuterHTML
Expand Down

0 comments on commit 4cf140a

Please sign in to comment.