[Userscript] Dashboard Level Progress Detail. update to broken script

The announced updates to the dashboard

include a change to the progression section that this script hooks into.

    <section class="progression">

(current layout)

becomes

      <section class="dashboard-progress">

A simple adjustment in the render function to switch the old name to the new name will make it work for the current preview. I’ve locally just duplicated the

    $('.progression').empty();
    $('.dashboard-progress').empty();

        $('.progression').append(html);
        $('.dashboard-progress').append(html);

lines to temporarily make it work for both. There’s probably a more elegant way of doing this, but I need to get some sleep :frowning:

4 Likes