mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
setTimeout: Fix da assert
Yeah, Miciah, I'm an idiot, don't walk around the fact.
This commit is contained in:
parent
da5ec748b6
commit
8ecf87b7b7
@ -308,7 +308,7 @@ ecmascript_timeout_handler(void *i)
|
||||
{
|
||||
struct ecmascript_interpreter *interpreter = i;
|
||||
|
||||
assertm(interpreter->vs->doc_view, "setTimeout: vs with no document (e_f %d)", interpreter->vs->doc_view);
|
||||
assertm(interpreter->vs->doc_view, "setTimeout: vs with no document (e_f %d)", interpreter->vs->ecmascript_fragile);
|
||||
interpreter->vs->doc_view->document->timeout = TIMER_ID_UNDEF;
|
||||
|
||||
ecmascript_eval(interpreter, &interpreter->code, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user