]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fix typos 5240/head
authorWing-Hou Chan <winghouchan@gmail.com>
Thu, 29 May 2014 07:26:22 +0000 (08:26 +0100)
committerWing-Hou Chan <winghouchan@gmail.com>
Thu, 29 May 2014 07:26:22 +0000 (08:26 +0100)
Fixes #5236

doc/pages/javascript-utilities.html

index 919b6c33b12dff5690732c131391ced1708d6a94..3c1a18078f136fd8e419be4c091693c2494952c9 100644 (file)
@@ -114,7 +114,7 @@ Many times when you create a callback, it&#8217;s advantageous to add a delay in
 
 <strong>Throttle</strong> prevents a function from being executed more than once every n milliseconds. Throttling is often used in cases where it&#8217;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.
 
-<strong>Debounce</strong> 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.
+<strong>Debounce</strong> 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.
 
 <div class="row">
   <div class="large-6 columns">