From: Wing-Hou Chan Date: Thu, 29 May 2014 07:26:22 +0000 (+0100) Subject: Fix typos X-Git-Tag: v5.3.0~34^2 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=refs%2Fpull%2F5240%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Fix typos Fixes #5236 --- diff --git a/doc/pages/javascript-utilities.html b/doc/pages/javascript-utilities.html index 919b6c33b..3c1a18078 100644 --- a/doc/pages/javascript-utilities.html +++ b/doc/pages/javascript-utilities.html @@ -114,7 +114,7 @@ Many times when you create a callback, it’s advantageous to add a delay in Throttle prevents a function from being executed more than once every n milliseconds. Throttling is often used in cases where it’s disadvantageous to trigger a callback every time an event is triggered (during a continuous action), but you still want to trigger a reaction while the event is occurring. Examples of this would be reacting to the browser window being resized, or animating an element. -Debounce prevents a function from being executed until it stops being invoked for n milliseconds. Debouncing is often used to prevent an action from being performed twice, such as double clicking a submit button, or to delay an event from occurring accidentially, such as an even triggered by hover. +Debounce prevents a function from being executed until it stops being invoked for n milliseconds. Debouncing is often used to prevent an action from being performed twice, such as double clicking a submit button, or to delay an event from occurring accidentally, such as an event triggered by hover.