mol_plot_all 1.2.327 → 1.2.328

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.js CHANGED
@@ -2263,9 +2263,7 @@ var $;
2263
2263
  "use strict";
2264
2264
  var $;
2265
2265
  (function ($) {
2266
- if ($mol_dom_context.document) {
2267
- setTimeout(() => $mol_view.autobind());
2268
- }
2266
+ $mol_dom_context.document?.addEventListener('DOMContentLoaded', () => $mol_view.autobind(), { once: true });
2269
2267
  })($ || ($ = {}));
2270
2268
  //mol/view/view/view.web.ts
2271
2269
  ;