forked from rDrama/rDrama
1
0
Fork 0

Fix ricardo error spam when 0 < n_ricardo < 3.

When ricardo.js was included on a page with ≥1 ricardo but <3
ricardos, the ricardo2 and ricardo3 handlers attempted to modify
non-existent DOM objects. There is now a non-null check before doing
so. Non-null check on ricardo1 isn't strictly necessary; however,
it has been added in case the inclusion of ricardo.js ever is not
conditional on a serverside ricardo quantity check.
master
Snakes 2022-05-17 19:30:15 -04:00
parent 28e99956c3
commit 67bd2abfd3

Diff Content Not Available