mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[quickjs] Duplicated condition
This commit is contained in:
parent
37c6e34cf2
commit
b19e783a4f
@ -1753,10 +1753,6 @@ js_element_focus(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *
|
|||||||
struct document *doc;
|
struct document *doc;
|
||||||
int offset, linknum;
|
int offset, linknum;
|
||||||
|
|
||||||
if (!el) {
|
|
||||||
return JS_FALSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!vs) {
|
if (!vs) {
|
||||||
return JS_UNDEFINED;
|
return JS_UNDEFINED;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user