Closed TerrapinSoftware closed 2 years ago
Describe the bug panel.close() on a closed panel throws an error.
To Reproduce call panel.close() twice
Suggested Fix
At the beginning of close(), add something like
if (!self.parentElement) return;
@TerrapinSoftware Thanks for the hint. I'll take a look at that the next days.
I just released v4.14.0 which includes the change you proposed.
Describe the bug panel.close() on a closed panel throws an error.
To Reproduce call panel.close() twice
Suggested Fix
At the beginning of close(), add something like