fix: "re-add copyable places" setting toggle

This commit is contained in:
Index 2024-07-15 08:54:12 -05:00
parent 0eca6b62c7
commit ffcb35d15f
3 changed files with 4 additions and 3 deletions

View file

@ -96,6 +96,7 @@ const DefaultSettings = {
PercentageOn: true, PercentageOn: true,
OpacityOn: true OpacityOn: true
}, },
ReaddCopyablePlacesOn: true,
TimePlayedOn: true TimePlayedOn: true
} }

View file

@ -135,7 +135,7 @@ const Gamepasses = Array.from(GamepassesTab.getElementsByClassName('card')) || [
} }
} }
if (Settings.ReaddCopyableOn === true) { if (Settings.ReaddCopyablePlacesOn === true) {
ReaddCopyable() ReaddCopyable()
} }
}); });

View file

@ -759,7 +759,7 @@
* This feature will be expanded to allow you to pick from a list of value lists (list-inception), if any prominent value lists pop-up in the future! * This feature will be expanded to allow you to pick from a list of value lists (list-inception), if any prominent value lists pop-up in the future!
</span> </span>
</div> </div>
<div class="setting-container" id="collectibles-inventory-category"> <div class="setting-container" id="readd-copyable-places">
<span class="badge bg-primary mb-1">New in v1.3!</span> <span class="badge bg-primary mb-1">New in v1.3!</span>
<br> <br>
<span class="indicator">&nbsp;</span> <span class="indicator">&nbsp;</span>
@ -767,7 +767,7 @@
Re-add Copyable Places Re-add Copyable Places
</span> </span>
<div class="setting-buttons"> <div class="setting-buttons">
<button class="btn btn-sm toggle-btn" data-setting="CollectibleInventoryCatOn">Toggle</button> <button class="btn btn-sm toggle-btn" data-setting="ReaddCopyablePlacesOn">Toggle</button>
</div> </div>
<br /> <br />
<span class="desc"> <span class="desc">