aboutsummaryrefslogtreecommitdiff
path: root/src/web.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/web.cc')
-rw-r--r--src/web.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/web.cc b/src/web.cc
index 74670c99..6a808fea 100644
--- a/src/web.cc
+++ b/src/web.cc
@@ -93,18 +93,6 @@ int a_Web_dispatch_by_type (const char *Type, DilloWeb *Web,
/* This method frees the old dw if any */
layout->setWidget(dw);
- /* Scroll to were we were in this page */
- layout->scrollTo(HPOS_LEFT, VPOS_TOP,
- URL_POSX(Web->url), URL_POSY(Web->url), 0, 0);
- /* If we're at the origin and there's a fragment, go there instead */
- if (URL_POSX(Web->url) == 0 && URL_POSY(Web->url) == 0) {
- char *f = a_Url_decode_hex_str(URL_FRAGMENT_(Web->url));
- if (f) {
- layout->setAnchor(f);
- dFree(f);
- }
- }
-
/* Clear the title bar for pages without a <TITLE> tag */
a_UIcmd_set_page_title(Web->bw, "");
a_UIcmd_set_location_text(Web->bw, URL_STR(Web->url));