Skip to content

Commit

Permalink
Fix scriptlets paths
Browse files Browse the repository at this point in the history
  • Loading branch information
tfedor committed May 28, 2024
1 parent 90a0b65 commit e22c75f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ export default class FBadgeSortAndFilter extends Feature<CBadges> {


private _recalcLazyLoaderOffset() {
DOMHelper.insertScript("scritplets/Community/Badges/recalcLazyLoaderOffset.js");
DOMHelper.insertScript("scriptlets/Community/Badges/recalcLazyLoaderOffset.js");
}

private _toggleBinderView(): void {
Expand Down
4 changes: 2 additions & 2 deletions src/js/Content/Features/Community/Inventory/CInventory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ export default class CInventory extends CCommunityBase {

this.myInventory = CommunityUtils.currentUserIsOwner();

DOMHelper.insertScript("scritplets/Community/Inventory/marketInfo.js");

// @ts-ignore
document.addEventListener("as_marketInfo", (e: CustomEvent<MarketInfo>) => {
this.onMarketInfo.dispatch(e.detail);
});

DOMHelper.insertScript("scriptlets/Community/Inventory/marketInfo.js");
}
}

0 comments on commit e22c75f

Please sign in to comment.