Browse Source

fix URL typo

master
Odilitime 5 years ago
parent
commit
2fb191c000
  1. 2
      src/graphics/components/DocumentComponent.cpp

2
src/graphics/components/DocumentComponent.cpp

@ -364,7 +364,7 @@ void DocumentComponent::navTo(const std::string url) { @@ -364,7 +364,7 @@ void DocumentComponent::navTo(const std::string url) {
}
// download URL
WebResource res = getWebResource(url);
WebResource res = getWebResource(this->currentURL);
if (res.resourceType == ResourceType::INVALID) {
logError() << "Invalid resource type: " << res.raw << std::endl;
return;

Loading…
Cancel
Save