parallaxinc / solo

BlocklyProp without the wires
MIT License
6 stars 6 forks source link

739_Refactor to address an array of elements. #740

Closed zfi closed 1 year ago

zfi commented 1 year ago

The original code was expecting a single matching element to which it would attach an EventHandler object. The 'show-os-???' class appears in at least two elements in the index.html page. The original code used jQuery to handle this. The latest jQuery refactor introduced this error.

This update refactors the code to identify and attach an event handler to every element that is using the specified class.

zfi commented 1 year ago

Addresses Issue #739.