mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:18:12 +00:00
LibHTML: Fire the HtmlView::on_title_change hook after a load finishes
This commit is contained in:
parent
31e361b827
commit
a8297657ab
1 changed files with 3 additions and 0 deletions
|
@ -175,4 +175,7 @@ void HtmlView::load(const URL& url)
|
||||||
document->normalize();
|
document->normalize();
|
||||||
|
|
||||||
set_document(document);
|
set_document(document);
|
||||||
|
|
||||||
|
if (on_title_change)
|
||||||
|
on_title_change(document->title());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue