summaryrefslogtreecommitdiff
path: root/src/commands.c
diff options
context:
space:
mode:
authorportix <none@none>2012-10-23 01:00:42 +0200
committerportix <none@none>2012-10-23 01:00:42 +0200
commit1bf336e63e1c46a3005d1e4d555d294dd45a9af0 (patch)
treeb55d987a4a31a07701a5f52c6b9fb5ad0dd553ae /src/commands.c
parent371935c5857ff7440f2fd1e29d28c1bd2918e7cf (diff)
downloaddwb-1bf336e63e1c46a3005d1e4d555d294dd45a9af0.zip
Fixing element hider issues with webkit-1.10
Diffstat (limited to 'src/commands.c')
-rw-r--r--src/commands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands.c b/src/commands.c
index 5e85035c..af99cc5b 100644
--- a/src/commands.c
+++ b/src/commands.c
@@ -119,7 +119,7 @@ commands_focus_input(KeyMap *km, Arg *a) {
char *value;
DwbStatus ret = STATUS_OK;
- if ( (value = js_call_as_function(MAIN_FRAME(), CURRENT_VIEW()->hint_object, "focusInput", NULL, &value)) ) {
+ if ( (value = js_call_as_function(MAIN_FRAME(), CURRENT_VIEW()->hint_object, "focusInput", NULL, kJSTypeUndefined, &value)) ) {
if (!g_strcmp0(value, "_dwb_no_input_"))
ret = STATUS_ERROR;
g_free(value);
@@ -132,7 +132,7 @@ commands_focus_input(KeyMap *km, Arg *a) {
DwbStatus
commands_add_search_field(KeyMap *km, Arg *a) {
char *value;
- if ( (value = js_call_as_function(MAIN_FRAME(), CURRENT_VIEW()->hint_object, "addSearchEngine", NULL, &value)) ) {
+ if ( (value = js_call_as_function(MAIN_FRAME(), CURRENT_VIEW()->hint_object, "addSearchEngine", NULL, kJSTypeUndefined, &value)) ) {
if (!g_strcmp0(value, "_dwb_no_hints_")) {
return STATUS_ERROR;
}