diff options
| author | bptato <nincsnevem662@gmail.com> | 2024-11-11 17:19:38 +0100 |
|---|---|---|
| committer | bptato <nincsnevem662@gmail.com> | 2024-11-11 21:19:52 +0100 |
| commit | 23beebe67a445aaeeae20a5cd80ff522db1b0ddb (patch) | |
| tree | 7c29e0be74bc78b02492b31751383096ce1cffdd /src/local/container.nim | |
| parent | bce7d58e6e6e54814b74d9d41766f98552206e32 (diff) | |
| download | chawan-23beebe67a445aaeeae20a5cd80ff522db1b0ddb.tar.gz | |
url: reduce URL object size, simplify
* query, fragment are now strings, not options
* get rid of Host, Path types, now hostname/pathname are strings
* fix ipv4 parsing error case
* in file protocol, fix URL for dirlist without slash with a redirection
Diffstat (limited to 'src/local/container.nim')
| -rw-r--r-- | src/local/container.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/local/container.nim b/src/local/container.nim index 527c4975..a5cdd630 100644 --- a/src/local/container.nim +++ b/src/local/container.nim @@ -1427,7 +1427,7 @@ proc onload(container: Container; res: int) = container.setLoadInfo("") container.triggerEvent(cetStatus) container.triggerEvent(cetLoaded) - if cfHasStart notin container.flags and (container.url.anchor != "" or + if cfHasStart notin container.flags and (container.url.hash != "" or container.config.autofocus): container.requestLines().then(proc(): Promise[GotoAnchorResult] = return container.iface.gotoAnchor() |