mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +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;
|
this->src = src;
|
||||||
if (document) {
|
if (document) {
|
||||||
scripting::on_ui_close(*document, nullptr);
|
scripting::on_ui_close(*document, nullptr);
|
||||||
|
clear();
|
||||||
document = nullptr;
|
document = nullptr;
|
||||||
root = nullptr;
|
root = nullptr;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue