Closed dotproto closed 12 years ago
How about that. Updating my personal branch automatically updated the pull request. Nice.
I'd get rid of the songQueueCountReady flag and just place something like the following at the beginning of the loadSongQueueCount function:
if ($('#ttpSongQueueCount').length > 0) { return; }
Other than that, this looks good!
New commit pushed. I used a variation on your suggestion because I didn't want loadSongQueueCount()
to early out. Instead, it will only append the new element if length == 0
.
Adds a simple queue counter to the "My DJ Queue" list.