mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
Ladybird: Fire the WebContentView::on_load_finish hook if set
This commit is contained in:
parent
a7677f1d9b
commit
90fee39290
Notes:
sideshowbarker
2024-07-17 01:10:35 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/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…
Reference in a new issue