sdenec / tidy-ui_game-settings

formerly FVTT UII Game Settings
16 stars 6 forks source link

Request to fix some code that's referencing the wrong HTML #69

Closed ironmonk88 closed 2 years ago

ironmonk88 commented 2 years ago

Would it be possible to make a small alteration to the code? Line 84 html.find(".settings-list article.module-wrapper").sort(Ascending_sort).appendTo('.tab[data-tab="modules"] .settings-list'); could that be changed to html.find(".settings-list article.module-wrapper").sort(Ascending_sort).appendTo(active);

Problem I'm having with my module is I'm altering the HTML, but sending the new HTML to the renderSettingsConfig so that it can get modified by other modules. The current code ends up modifying the existing HTML rather than the one I want to replace it with.

Thank you.

sdenec commented 2 years ago

Sure thing!