@xuda.io/runtime-bundle 1.0.472 → 1.0.473
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -12111,6 +12111,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
12111
12111
|
// Select the node that will be observed for mutations
|
|
12112
12112
|
const targetNode = $elm[0];
|
|
12113
12113
|
|
|
12114
|
+
if (!targetNode) return;
|
|
12115
|
+
|
|
12114
12116
|
// Options for the observer (which mutations to observe)
|
|
12115
12117
|
const config = { attributes: true, childList: true, subtree: true };
|
|
12116
12118
|
|
|
@@ -10184,6 +10184,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
10184
10184
|
// Select the node that will be observed for mutations
|
|
10185
10185
|
const targetNode = $elm[0];
|
|
10186
10186
|
|
|
10187
|
+
if (!targetNode) return;
|
|
10188
|
+
|
|
10187
10189
|
// Options for the observer (which mutations to observe)
|
|
10188
10190
|
const config = { attributes: true, childList: true, subtree: true };
|
|
10189
10191
|
|