Fixes a few bugs I noticed with the new NHL functionality from dcd323e0a85dc9d942dcb4374fc0cfe104660e38:
Goalies were not being updated, because they are in a separate tbody.Table__TBODY element. This is also true for baseball pitchers if that's ever implemented.
The extension was hardcoded against F slots, but did not work for separate forward positions (C, LW, RW).
Unknown slot errors were caused by what looks some old code that was moved to the NBA config, but wasn't removed from the root autostart.js (the parseSlotType(...) function)
Fixes a few bugs I noticed with the new NHL functionality from dcd323e0a85dc9d942dcb4374fc0cfe104660e38:
tbody.Table__TBODY
element. This is also true for baseball pitchers if that's ever implemented.F
slots, but did not work for separate forward positions (C
,LW
,RW
).autostart.js
(theparseSlotType(...)
function)Demo
Single Day![hockey-fix](https://user-images.githubusercontent.com/2043235/113026287-85036180-914e-11eb-9956-6f9792ef6c26.gif)
Full week![hockey-fix-week](https://user-images.githubusercontent.com/2043235/113026736-fe02b900-914e-11eb-818a-3079121cc255.gif)