aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/helpers/system.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/helpers/system.ts')
-rw-r--r--server/sonar-web/src/main/js/helpers/system.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/helpers/system.ts b/server/sonar-web/src/main/js/helpers/system.ts
index e7e53e5b966..f93cf592ead 100644
--- a/server/sonar-web/src/main/js/helpers/system.ts
+++ b/server/sonar-web/src/main/js/helpers/system.ts
@@ -39,3 +39,7 @@ export function isOfficial() {
export function isSonarCloud() {
return getInstance() === InstanceType.SonarCloud;
}
+
+export function getReactDomContainerSelector() {
+ return '#content';
+}