remove outdated comment

This commit is contained in:
Liam DeBeasi
2023-12-04 14:16:05 -05:00
parent a52413113f
commit 90e2d2cf2c

View File

@@ -341,14 +341,6 @@ export class PickerColumn implements ComponentInterface {
this.setPickerItemActiveState(activeEl, false);
}
/**
* This null check is important because activeEl
* can be undefined but newActiveElement can be
* null since we are using a querySelector.
* newActiveElement !== activeEl would return true
* below if newActiveElement was null but activeEl
* was undefined.
*/
if (newActiveElement === undefined || newActiveElement.disabled) {
return;
}