aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-web-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'embed/ephy-web-view.c')
-rw-r--r--embed/ephy-web-view.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 398db35d8..cbb70c930 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -799,7 +799,8 @@ find_username_and_password_elements (JSContextRef js_context,
js_object = JSValueToObject (js_context, (JSValueRef)iter->data, NULL);
- type = js_get_element_attribute (js_context, js_object, "type");
+ type = js_get_element_property (js_context, js_object, "type");
+
if (!type)
continue;