mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[ecmascript] Do not rewrite html when testing
This commit is contained in:
parent
5f74bdd539
commit
3f9af02ff6
@ -275,7 +275,7 @@ check_for_rerender(struct ecmascript_interpreter *interpreter, const char* text)
|
||||
#ifdef ECMASCRIPT_DEBUG
|
||||
fprintf(stderr, "%s:%s %s %d\n", __FILE__, __FUNCTION__, text, interpreter->changed);
|
||||
#endif
|
||||
if (interpreter->changed) {
|
||||
if (interpreter->changed && !get_cmd_opt_bool("test")) {
|
||||
struct document_view *doc_view = interpreter->vs->doc_view;
|
||||
struct document *document = doc_view->document;
|
||||
struct session *ses = doc_view->session;
|
||||
|
Loading…
Reference in New Issue
Block a user