1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[ javascript ] rerender core dumps fix

This commit is contained in:
Unknown 2022-05-25 19:53:33 +02:00
parent 136f9359fc
commit 0d60536a09

View File

@ -713,9 +713,10 @@ doc_rerender_after_document_update(struct session *ses) {
}
if (ses->doc_view->document->ecmascript_counter > 0) {
if (ses->doc_view->vs) {
ses->doc_view->vs->plain = !ses->doc_view->vs->plain;
// issue #171 : sess-doc_view incorrectly set, disabling
//ses->doc_view->vs->plain = !ses->doc_view->vs->plain;
draw_formatted(ses, 1);
ses->doc_view->vs->plain = !ses->doc_view->vs->plain;
//ses->doc_view->vs->plain = !ses->doc_view->vs->plain;
draw_formatted(ses, 1);
//DBG("REDRAWING...");
}