From f8b58866dcddf3e36f8ca5124b009fddc727855b Mon Sep 17 00:00:00 2001 From: sbwalker Date: Thu, 19 Sep 2024 12:14:24 -0400 Subject: [PATCH] synchronize interop.js with .NET MAUI --- Oqtane.Maui/wwwroot/js/interop.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Oqtane.Maui/wwwroot/js/interop.js b/Oqtane.Maui/wwwroot/js/interop.js index 07a761b8..9bc74bb8 100644 --- a/Oqtane.Maui/wwwroot/js/interop.js +++ b/Oqtane.Maui/wwwroot/js/interop.js @@ -198,7 +198,9 @@ Oqtane.Interop = { } promises.push(new Promise((resolve, reject) => { if (loadjs.isDefined(bundles[b])) { - resolve(true); + loadjs.ready(bundles[b], () => { + resolve(true); + }); } else { loadjs(urls, bundles[b], {