mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 10:31:50 +00:00
fix iframe.src = ""
This commit is contained in:
parent
450b32d12e
commit
e2a65412bc
1 changed files with 1 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ void InlineFrame::setSrc(const std::string& src) {
|
|||
this->src = src;
|
||||
if (document) {
|
||||
scripting::on_ui_close(*document, nullptr);
|
||||
clear();
|
||||
document = nullptr;
|
||||
root = nullptr;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue