forked from rDrama/rDrama
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
parent
28e99956c3
commit
67bd2abfd3