Objects currently mess with GifSound's properties directly to show or hide elements, rather than going through methods. Going through methods would allow for the current shown/hidden state to be stored as booleans and thus be checked before interacting with the DOM.
Objects currently mess with GifSound's properties directly to show or hide elements, rather than going through methods. Going through methods would allow for the current shown/hidden state to be stored as booleans and thus be checked before interacting with the DOM.