diff options
author | 2023-03-20 00:18:41 +0100 | |
---|---|---|
committer | 2023-03-20 00:20:45 +0100 | |
commit | 0231ed6f1d5929d84bb81e6673d3319a24f08b16 (patch) | |
tree | fbb5582d498dbaaa142a74080cc02e91e5760847 /lazy | |
parent | d7fffaa801423ae989fa7693f5b1cb424194e1ff (diff) | |
download | iced-0231ed6f1d5929d84bb81e6673d3319a24f08b16.tar.gz iced-0231ed6f1d5929d84bb81e6673d3319a24f08b16.tar.bz2 iced-0231ed6f1d5929d84bb81e6673d3319a24f08b16.zip |
winit: Fix replacement of node in wasm
Replacing a node ends up with the following error:
Node.replaceChild: Child to be replaced is not a child of this node
It seems that Node.replaceChild is not recommended, and instead
Element.replaceWith should be preferred. Using it avoids the panic.
Diffstat (limited to 'lazy')
0 files changed, 0 insertions, 0 deletions