fix: update MCT start() to use element with ID openmct-app

This commit is contained in:
Jesse Mazzella 2023-10-25 10:43:17 -07:00
parent 141939295a
commit c9417a24fd

View File

@ -342,7 +342,7 @@ define([
* MCT; if undefined, MCT will be run in the body of the document
*/
MCT.prototype.start = function (
domElement = document.body.firstElementChild,
domElement = document.getElementById('openmct-app'),
isHeadlessMode = false
) {
// Create element to mount Layout if it doesn't exist