mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-07 08:39:22 +00:00
LibWeb: Fix location.reload.length
This was accidentally being set to JS::Attribute::Enumerable instead of 0.
This commit is contained in:
parent
61d5bec739
commit
9de92ae4c1
Notes:
sideshowbarker
2024-07-19 05:48:48 +09:00
Author: https://github.com/Lubrsi
Commit: 9de92ae4c1
Pull-request: https://github.com/SerenityOS/serenity/pull/2517
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ LocationObject::LocationObject()
|
|||
define_native_property("search", search_getter, nullptr, attr);
|
||||
define_native_property("protocol", protocol_getter, nullptr, attr);
|
||||
|
||||
define_native_function("reload", reload, JS::Attribute::Enumerable);
|
||||
define_native_function("reload", reload, 0, JS::Attribute::Enumerable);
|
||||
}
|
||||
|
||||
LocationObject::~LocationObject()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue