mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 16:15:10 +00:00
Ladybird: Fire the WebContentView::on_load_finish hook if set
This commit is contained in:
parent
a7677f1d9b
commit
90fee39290
1 changed files with 2 additions and 0 deletions
|
@ -800,6 +800,8 @@ void WebContentView::notify_server_did_finish_loading(Badge<WebContentClient>, A
|
|||
m_url = url;
|
||||
if (is_inspector_open())
|
||||
inspect_dom_tree();
|
||||
if (on_load_finish)
|
||||
on_load_finish(url);
|
||||
}
|
||||
|
||||
void WebContentView::notify_server_did_request_navigate_back(Badge<WebContentClient>)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue