summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Libraries/LibWeb/Bindings/LocationObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibWeb/Bindings/LocationObject.cpp b/Libraries/LibWeb/Bindings/LocationObject.cpp
index cfdbdc2067..6a26c01b10 100644
--- a/Libraries/LibWeb/Bindings/LocationObject.cpp
+++ b/Libraries/LibWeb/Bindings/LocationObject.cpp
@@ -47,7 +47,7 @@ LocationObject::LocationObject()
put_native_property("search", search_getter, nullptr, attr);
put_native_property("protocol", protocol_getter, nullptr, attr);
- put_native_function("reload", reload);
+ put_native_function("reload", reload, JS::Attribute::Enumerable);
}
LocationObject::~LocationObject()