mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-07 19:52:55 +00:00
LibHTML: Fire the HtmlView::on_title_change hook after a load finishes
This commit is contained in:
parent
31e361b827
commit
a8297657ab
Notes:
sideshowbarker
2024-07-19 11:48:48 +09:00
Author: https://github.com/awesomekling
Commit: a8297657ab
1 changed files with 3 additions and 0 deletions
|
@ -175,4 +175,7 @@ void HtmlView::load(const URL& url)
|
|||
document->normalize();
|
||||
|
||||
set_document(document);
|
||||
|
||||
if (on_title_change)
|
||||
on_title_change(document->title());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue