diff options
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r-- | src/ui/documentwidget.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index e632a65c..87356c7a 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -1149,7 +1149,8 @@ static iBool handleCommand_DocumentWidget_(iDocumentWidget *d, const char *cmd) | |||
1149 | d->scrollY = d->initNormScrollY * size_GmDocument(d->doc).y; | 1149 | d->scrollY = d->initNormScrollY * size_GmDocument(d->doc).y; |
1150 | d->state = ready_RequestState; | 1150 | d->state = ready_RequestState; |
1151 | /* The response may be cached. */ { | 1151 | /* The response may be cached. */ { |
1152 | if (!equal_Rangecc(urlScheme_String(d->mod.url), "about")) { | 1152 | if (!equal_Rangecc(urlScheme_String(d->mod.url), "about") && |
1153 | startsWithCase_String(meta_GmRequest(d->request), "text/")) { | ||
1153 | setCachedResponse_History(d->mod.history, response_GmRequest(d->request)); | 1154 | setCachedResponse_History(d->mod.history, response_GmRequest(d->request)); |
1154 | } | 1155 | } |
1155 | } | 1156 | } |