calculate weighted average track rating based on track lengths
這裡只顯示彼此間有代碼差異的版本。 顯示所有版本。
Fixing two bugs: don't break if the first "track" is a disc title, and make sure everything still fires if the page is opened in a new tab.
Fixing bug that broke weighted averages on releases whose numbers weren't just numbers.
Made it so multi-part tracks' ratings are handled correctly, including the exclusion of [silence] tracks
Made it so the weighted average in the track rating dropdown updates whenever you click the "save track ratings" button.
Fixed a bug that occurred in tracklistings where some tracks have lengths and others don't.
Updated to fix issues after recent update. Re-wrote the whole thing in more modern JavaScript too.