mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-04 20:02:21 +03:00
Merge branch 'master' of git://git.netsurf-browser.org/netsurf
This commit is contained in:
commit
ec79063155
@ -246,7 +246,7 @@ operation dispatchEvent %{
|
|||||||
JS_GetProperty(cx, JSAPI_THIS_OBJECT(cx, vp), "onload", &eventval);
|
JS_GetProperty(cx, JSAPI_THIS_OBJECT(cx, vp), "onload", &eventval);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (JSVAL_IS_VOID(eventval)) {
|
if (!JSVAL_IS_VOID(eventval)) {
|
||||||
event_argv[0] = eventval;
|
event_argv[0] = eventval;
|
||||||
jsret = JS_CallFunctionValue(cx, NULL, eventval, 1, event_argv, &event_rval);
|
jsret = JS_CallFunctionValue(cx, NULL, eventval, 1, event_argv, &event_rval);
|
||||||
}
|
}
|
||||||
|
@ -43,6 +43,7 @@
|
|||||||
#include "render/imagemap.h"
|
#include "render/imagemap.h"
|
||||||
#include "render/layout.h"
|
#include "render/layout.h"
|
||||||
#include "render/search.h"
|
#include "render/search.h"
|
||||||
|
#include "javascript/js.h"
|
||||||
#include "utils/corestrings.h"
|
#include "utils/corestrings.h"
|
||||||
#include "utils/http.h"
|
#include "utils/http.h"
|
||||||
#include "utils/libdom.h"
|
#include "utils/libdom.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user