From c21e351525e696b7c56ffe0e49730f54287cdf40 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Tue, 20 Jul 2021 10:11:26 +0200 Subject: [PATCH] [rerender] draw_formatted called again --- src/ecmascript/ecmascript.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ecmascript/ecmascript.c b/src/ecmascript/ecmascript.c index 1f305a965..91e3e5b43 100644 --- a/src/ecmascript/ecmascript.c +++ b/src/ecmascript/ecmascript.c @@ -31,6 +31,7 @@ #include "terminal/window.h" #include "util/conv.h" #include "util/string.h" +#include "viewer/text/draw.h" #include "viewer/text/view.h" /* current_frame() */ #include "viewer/text/form.h" /* <-ecmascript_reset_state() */ #include "viewer/text/vs.h" @@ -253,7 +254,7 @@ delayed_reload(void *data) reset_document(rel->document); render_xhtml_document(rel->cached, rel->document, NULL); sort_links(rel->document); - //draw_formatted(rel->ses, 0); + draw_formatted(rel->ses, 0); mem_free(rel); }