1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-07-01 02:05:33 +00:00

SpiderMonkey: target was not set

This commit is contained in:
witekfl 2006-01-31 13:03:17 +01:00 committed by
parent 7eaa1bb2f9
commit 3c0c912198

View File

@ -323,6 +323,7 @@ window_open(JSContext *ctx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
} strings[NUMBER_OF_URLS_TO_REMEMBER];
static int indeks;
target = jsval_to_string(ctx, &argv[1]);
for (i = 0; i < NUMBER_OF_URLS_TO_REMEMBER; i++) {
if (!(strings[i].ctx && strings[i].url && strings[i].frame))
continue;