mol_view_tree2_lib 1.0.188 → 1.0.189

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/web.mjs CHANGED
@@ -5058,7 +5058,7 @@ var $;
5058
5058
  var $;
5059
5059
  (function ($) {
5060
5060
  class $mol_file_web extends $mol_file_webdav {
5061
- static base = new URL('.', ($mol_dom_context.document?.currentScript)['src'] ?? globalThis.location.href).toString();
5061
+ static base = new URL('.', $mol_dom_context.document?.currentScript?.['src'] ?? globalThis.location.href).toString();
5062
5062
  version() { return '1'; }
5063
5063
  info() {
5064
5064
  try {