Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Bug loading page with jukebox

Today, when I tried to start up my Descent into Avernus campaign, I was unable to load the page due to a javascript error: helpers.ts:110 Uncaught TypeError: r.push is not a function     at app.js?1587756488:578     at Array.forEach (<anonymous>)     at Function.C.each.C.forEach (base.js?1578419093:6)     at Object.d20.jukebox.refreshJukeboxList (app.js?1587756488:578) When I put breakpoint at the appropriate line in app.js,                     _.each(l, function(e) {                         r.push(e.id)                     }) I can see that for most items, the object is an array [] for which the push function exists.  When i get to the jukebox, however, r is a json object that does not have a push function - it looks to be a jquery selector. { length : 0 , prevObject : {…} , context : {…} , selector : "#jukebox #jukeboxfolderroot" } context :  { location :  {…} ,  jQuery19103632000687849877 :  1 }   I can, at that breakpoint on page load, reset that object to an array, and things will load, but that does not seem like it should be necessary.  This is my first campaign starting to use sounds heavily; is there something here I can do to prevent the jukebox from being parsed this way?
The issue definitely seemed related to folders in the jukebox (the selector was for the jukeboxfolerroot node).  After i loaded the game, the sounds were not in any folders.  When i reloaded the page several hours later, I did not have to do the on the fly javascript editing.  I could even put some sounds back into folders, reload the page, and have it work again.