mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[ecmascript] move visited allowed url to the begining of list.
This commit is contained in:
parent
de793bbf73
commit
867cc8a9c6
@ -134,6 +134,7 @@ get_ecmascript_enable(struct ecmascript_interpreter *interpreter)
|
||||
}
|
||||
if (!is_prefix(string->source, url, string->length)) {
|
||||
mem_free(url);
|
||||
move_to_top_of_list(allowed_urls, item);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user