Skip to content

Commit

Permalink
remove todo, #1445
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Oct 26, 2022
1 parent f178942 commit dc4929f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion js/input/Input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1203,7 +1203,6 @@ export default class Input extends PhetioObject {
}
else {
const target = ( domEvent.target as unknown as Element );
// TODO: Sam we were unsure if this code might interact with JS code that may create problems in the future. Thoughts?
assert && assert( target instanceof window.Element ); // eslint-disable-line no-simple-type-checking-assertions
if ( target && this.isTargetUnderPDOM( target as HTMLElement ) ) {
const trailIndices = target.getAttribute( PDOMUtils.DATA_PDOM_UNIQUE_ID );
Expand Down

0 comments on commit dc4929f

Please sign in to comment.