Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

scroll_util: Fix typo caught by codespell.

Tim Abbottdd430e2b5686
diff --git a/web/src/scroll_util.ts b/web/src/scroll_util.ts
index 827d74cd0ca..c886b67776d 100644
--- a/web/src/scroll_util.ts
+++ b/web/src/scroll_util.ts
@@ -79,7 +79,7 @@ export function scroll_element_into_container(
$container = get_scroll_element($container);
// To correctly compute the offset of the element's scroll
- // position within our scroll container, we need to substract the
+ // position within our scroll container, we need to subtract the
// scroll container's own offset within the document.
const elem_offset = $elem.offset()?.top ?? 0;
const container_offset = $container.offset()?.top ?? 0;