Skip to content

Commit

Permalink
improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra committed Dec 4, 2023
1 parent c1aa583 commit a0a364f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/autocapture-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { window } from './utils/globals'
/*
* Get the className of an element, accounting for edge cases where element.className is an object
*
* In use the classes are always split before being used. Because this is a string it can contain unexpected characters
* Because this is a string it can contain unexpected characters
* So, this method safely splits the className and returns that array.
*/
export function getClassNames(el: Element): string[] {
Expand Down

0 comments on commit a0a364f

Please sign in to comment.