Dropping the original version in the middle of a material design lite layout made the audio traversal code not work, as the offsets were different than expected.
Switching to using getBoundingClientRect() solved this issue, and helped simplify the code a little.
Dropping the original version in the middle of a material design lite layout made the audio traversal code not work, as the offsets were different than expected.
Switching to using
getBoundingClientRect()
solved this issue, and helped simplify the code a little.