Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Restore current bootstrap, it breaks some services

Oliver Günther255bf5fd9d87
diff --git a/frontend/src/main.ts b/frontend/src/main.ts
index 4f5e6c8bd61..5ddcf1a806c 100644
--- a/frontend/src/main.ts
+++ b/frontend/src/main.ts
@@ -41,11 +41,15 @@ whenDebugging(() => {
// Import the correct locale early on
void initializeLocale()
.then(() => {
- void platformBrowserDynamic()
- .bootstrapModule(OpenProjectModule)
- .then(() => {
- // Now that DOM is loaded, also run the global listeners
- initializeGlobalListeners();
- document.body.classList.add('__ng2-bootstrap-has-run');
- });
+ jQuery(() => {
+ // Now that DOM is loaded, also run the global listeners
+ initializeGlobalListeners();
+
+ // Due to the behaviour of the Edge browser we need to wait for 'DOM ready'
+ void platformBrowserDynamic()
+ .bootstrapModule(OpenProjectModule)
+ .then(() => {
+ jQuery('body').addClass('__ng2-bootstrap-has-run');
+ });
+ });
});