Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hcodes committed Sep 8, 2024
1 parent 734179d commit bcbf2ab
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/ts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,10 @@ export default class Snowflakes {

addClass(container, 'snowflakes');
addClass(container, `snowflakes_gid_${this.gid}`);
this.isBody && addClass(container, 'snowflakes_body');
if (this.isBody) {
addClass(container, 'snowflakes_body');
}

setStyle(container, { zIndex: String(this.params.zIndex) });

this.params.container.appendChild(container);
Expand Down

0 comments on commit bcbf2ab

Please sign in to comment.