diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/Loader')
-rw-r--r-- | Userland/Libraries/LibWeb/Loader/FrameLoader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/Loader/FrameLoader.cpp b/Userland/Libraries/LibWeb/Loader/FrameLoader.cpp index 55a251deee..b33878c742 100644 --- a/Userland/Libraries/LibWeb/Loader/FrameLoader.cpp +++ b/Userland/Libraries/LibWeb/Loader/FrameLoader.cpp @@ -143,13 +143,13 @@ bool FrameLoader::load(const LoadRequest& request, Type type) auto& url = request.url(); - set_resource(ResourceLoader::the().load_resource(Resource::Type::Generic, request)); - if (type == Type::Navigation) { if (auto* page = frame().page()) page->client().page_did_start_loading(url); } + set_resource(ResourceLoader::the().load_resource(Resource::Type::Generic, request)); + if (type == Type::IFrame) return true; |