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);
|
||||
}
|
||||
|
||||
if (JSVAL_IS_VOID(eventval)) {
|
||||
if (!JSVAL_IS_VOID(eventval)) {
|
||||
event_argv[0] = eventval;
|
||||
jsret = JS_CallFunctionValue(cx, NULL, eventval, 1, event_argv, &event_rval);
|
||||
}
|
||||
|
|
|
@ -43,6 +43,7 @@
|
|||
#include "render/imagemap.h"
|
||||
#include "render/layout.h"
|
||||
#include "render/search.h"
|
||||
#include "javascript/js.h"
|
||||
#include "utils/corestrings.h"
|
||||
#include "utils/http.h"
|
||||
#include "utils/libdom.h"
|
||||
|
|
Loading…
Reference in New Issue