Now Determining Connector Selectors Based on Viewport Width (#3283)
Now Determining Connector Selectors Based on Viewport Width (#3283)

* Artist selector was: "#artist-text" which no longer exists.
Artist selector is now: "#marquee2 > span.artist"

Track selector was: "title-text" which no longer exists.
Track selector is now: "#marquee1 > span".

* Revert Selector Change After Finding out That Conditional Selectors Will be Necessary.

This reverts commit 803e9e6be9dde1325ba396b3f0099ee355ccee33.

* Updated selectors to be conditional depending on the size of the viewport.

* Refactored connector code to listen for changes on window load and resize - updating artist and track selectors accordingly.

* Updated addWindowListeners to not use anonymous arrow functions.

* Fix width detection bugs

Co-authored-by: yayuyokitano <e1495c72ff31957341c09cd98d986b4193d82751@users.noreply.github.com>
inverse/web-scrobbler,inverse/web-scrobbler