Skip to content
Snippets Groups Projects
Commit c10eaeae authored by echicken's avatar echicken :chicken:
Browse files

Skip the stupid parentNode dance and just .remove() the element.

parent b0a76216
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
...@@ -74,7 +74,7 @@ function GraphicsConverter(spritesheet_src, font_width, font_height, spritesheet ...@@ -74,7 +74,7 @@ function GraphicsConverter(spritesheet_src, font_width, font_height, spritesheet
} }
function delete_workspace(workspace) { function delete_workspace(workspace) {
workspace.container.parentNode.removeChild(container); workspace.container.remove();
} }
// Clip character # 'char' from the spritesheet and return it as ImageData // Clip character # 'char' from the spritesheet and return it as ImageData
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment