mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:48:11 +00:00
LibWeb: Update Window::focus()
to use navigables
This commit is contained in:
parent
e54071ce89
commit
c95215f829
1 changed files with 1 additions and 1 deletions
|
@ -857,7 +857,7 @@ JS::NonnullGCPtr<History> Window::history() const
|
|||
void Window::focus()
|
||||
{
|
||||
// 1. Let current be this Window object's navigable.
|
||||
auto* current = browsing_context();
|
||||
auto current = navigable();
|
||||
|
||||
// 2. If current is null, then return.
|
||||
if (!current)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue