summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Bindings/WindowObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/Bindings/WindowObject.cpp')
-rw-r--r--Userland/Libraries/LibWeb/Bindings/WindowObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Bindings/WindowObject.cpp b/Userland/Libraries/LibWeb/Bindings/WindowObject.cpp
index 146cf27129..e8876a3984 100644
--- a/Userland/Libraries/LibWeb/Bindings/WindowObject.cpp
+++ b/Userland/Libraries/LibWeb/Bindings/WindowObject.cpp
@@ -341,7 +341,7 @@ JS_DEFINE_NATIVE_FUNCTION(WindowObject::clear_interval)
i32 timer_id = vm.argument(0).to_i32(global_object);
if (vm.exception())
return {};
- impl->clear_timeout(timer_id);
+ impl->clear_interval(timer_id);
return JS::js_undefined();
}