mol_plot_all 1.2.421 → 1.2.423
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/node.deps.json +1 -1
- package/node.esm.js +4 -4
- package/node.esm.js.map +1 -1
- package/node.js +4 -4
- package/node.js.map +1 -1
- package/node.test.js +6 -5
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.deps.json +1 -1
- package/web.esm.js +4 -4
- package/web.esm.js.map +1 -1
- package/web.js +4 -4
- package/web.js.map +1 -1
- package/web.test.js +2 -1
- package/web.test.js.map +1 -1
package/node.test.js
CHANGED
|
@@ -2663,12 +2663,12 @@ var $;
|
|
|
2663
2663
|
view.dom_node().scrollIntoView({ block: align });
|
|
2664
2664
|
}
|
|
2665
2665
|
bring() {
|
|
2666
|
+
const win = this.$.$mol_dom_context;
|
|
2667
|
+
if (win.parent !== win.self && !win.document.hasFocus())
|
|
2668
|
+
return;
|
|
2666
2669
|
new this.$.$mol_after_frame(() => {
|
|
2667
2670
|
this.dom_node().scrollIntoView({ inline: 'start' });
|
|
2668
|
-
|
|
2669
|
-
if (win.parent === win.self || win.document.hasFocus()) {
|
|
2670
|
-
this.focused(true);
|
|
2671
|
-
}
|
|
2671
|
+
this.focused(true);
|
|
2672
2672
|
});
|
|
2673
2673
|
}
|
|
2674
2674
|
}
|
|
@@ -6319,7 +6319,8 @@ var $;
|
|
|
6319
6319
|
if (key === 'id')
|
|
6320
6320
|
continue;
|
|
6321
6321
|
if (typeof props[key] === 'string') {
|
|
6322
|
-
|
|
6322
|
+
if (key in node)
|
|
6323
|
+
node[key] = props[key];
|
|
6323
6324
|
node.setAttribute(key, props[key]);
|
|
6324
6325
|
}
|
|
6325
6326
|
else if (props[key] &&
|