Skip to content

Commit

Permalink
ACAS-784: Lookup qtLoader.module
Browse files Browse the repository at this point in the history
  • Loading branch information
brianbolt committed Jun 27, 2024
1 parent b65bfd8 commit 8840bc3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ $(function() {
window.MaestroJSUtil = {
"getSketcher": function getSketcher(el) {
function waitForReady(resolve, reject) {
var maestro = $(el)?.[0]?.contentWindow?.Module;
var maestro = $(el)?.[0]?.contentWindow?.qtLoader?.module;
const sketcherImportText = maestro?.sketcher_import_text || maestro?.sketcherImportText;
if (!sketcherImportText) {
setTimeout(() => waitForReady(resolve, reject), 1000);
Expand Down

0 comments on commit 8840bc3

Please sign in to comment.