mirror of
https://github.com/rkd77/elinks.git
synced 2024-10-03 03:56:32 -04:00
SpiderMonkey: target was not set
This commit is contained in:
parent
7eaa1bb2f9
commit
3c0c912198
@ -323,6 +323,7 @@ window_open(JSContext *ctx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
|
|||||||
} strings[NUMBER_OF_URLS_TO_REMEMBER];
|
} strings[NUMBER_OF_URLS_TO_REMEMBER];
|
||||||
static int indeks;
|
static int indeks;
|
||||||
|
|
||||||
|
target = jsval_to_string(ctx, &argv[1]);
|
||||||
for (i = 0; i < NUMBER_OF_URLS_TO_REMEMBER; i++) {
|
for (i = 0; i < NUMBER_OF_URLS_TO_REMEMBER; i++) {
|
||||||
if (!(strings[i].ctx && strings[i].url && strings[i].frame))
|
if (!(strings[i].ctx && strings[i].url && strings[i].frame))
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user