Skip to content

Commit

Permalink
Only run feature on store app pages and the community
Browse files Browse the repository at this point in the history
  • Loading branch information
candela97 committed Nov 11, 2023
1 parent 3d2bef2 commit e3f1fec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/js/Content/Features/Common/CBase.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import {Context} from "../../modulesContent";
import FEarlyAccess from "./FEarlyAccess";
import FHideTrademarks from "./FHideTrademarks";
import FDisableLinkFilter from "./FDisableLinkFilter";
import FKeepSSACheckboxState from "./FKeepSSACheckboxState";
import FDefaultCommunityTab from "./FDefaultCommunityTab";
import FFocusSearch from "./FFocusSearch";
Expand All @@ -13,7 +12,6 @@ export class CBase extends Context {
features.push(
FEarlyAccess,
FHideTrademarks,
FDisableLinkFilter,
FKeepSSACheckboxState,
FDefaultCommunityTab,
FFocusSearch,
Expand Down
2 changes: 2 additions & 0 deletions src/js/Content/Features/Community/CCommunityBase.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import {CBase} from "../Common/CBase";
import {ContextType} from "../../modulesContent";
import FDisableLinkFilter from "../Common/FDisableLinkFilter";
import FConfirmDeleteComment from "./FConfirmDeleteComment";
import FHideSpamComments from "./FHideSpamComments";
import FFavoriteEmoticons from "./FFavoriteEmoticons";
Expand All @@ -9,6 +10,7 @@ export class CCommunityBase extends CBase {
constructor(type = ContextType.COMMUNITY_DEFAULT, features = []) {

features.push(
FDisableLinkFilter,
FConfirmDeleteComment,
FHideSpamComments,
FFavoriteEmoticons,
Expand Down
2 changes: 2 additions & 0 deletions src/js/Content/Features/Store/App/CApp.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {Background, ContextType} from "../../../modulesContent";
import {CStoreBase} from "../Common/CStoreBase";
import {UserNotes} from "../Common/UserNotes";
import FMediaExpander from "../../Common/FMediaExpander";
import FDisableLinkFilter from "../../Common/FDisableLinkFilter";
import FITADPrices from "../Common/FITADPrices";
import FDRMWarnings from "../Common/FDRMWarnings";
import FExtraLinks from "../Common/FExtraLinks";
Expand Down Expand Up @@ -61,6 +62,7 @@ export class CApp extends CStoreBase {
}

super(ContextType.APP, [
FDisableLinkFilter,
FReplaceDevPubLinks,
FForceMP4,
FHDPlayer,
Expand Down

0 comments on commit e3f1fec

Please sign in to comment.