mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-24 00:49:46 +00:00
LibWeb/HTML: Add missing "else" to create_navigation_params_by_fetching
This commit is contained in:
parent
0b998b8379
commit
cf969abba7
Notes:
github-actions[bot]
2025-08-11 11:24:16 +00:00
Author: https://github.com/AtkinsSJ
Commit: cf969abba7
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5763
1 changed files with 1 additions and 1 deletions
|
|
@ -907,7 +907,7 @@ static WebIDL::ExceptionOr<Navigable::NavigationParamsVariant> create_navigation
|
|||
request->set_reload_navigation(true);
|
||||
|
||||
// 6. Otherwise, if entry's document state's ever populated is true, then set request's history-navigation flag.
|
||||
if (entry->document_state()->ever_populated())
|
||||
else if (entry->document_state()->ever_populated())
|
||||
request->set_history_navigation(true);
|
||||
|
||||
// 7. If sourceSnapshotParams's has transient activation is true, then set request's user-activation to true.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue