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.
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.