Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
AtlassianRubberDuck committed Feb 16, 2023
1 parent f4b5e88 commit 62aab19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/css/src/utils/class-name-generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class ClassNameGenerator {
return this.generateClassName();
}

// Avoid any class name which includes the word 'ad' to please adblocker
// Avoid any class name which includes the word 'ad' to prevent adblocker from blocking the HTML element
if (newClassName.toLowerCase().includes('ad')) {
this.newClassSize++;
return this.generateClassName();
Expand Down

0 comments on commit 62aab19

Please sign in to comment.