]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
fixes example call to throttle 12088/head
authorpeter rosanelli <peter.rosanelli@gmail.com>
Wed, 3 Jun 2020 20:58:03 +0000 (16:58 -0400)
committerGitHub <noreply@github.com>
Wed, 3 Jun 2020 20:58:03 +0000 (16:58 -0400)
docs/pages/javascript-utilities.md

index ea7b6463e5d9fd497cbc24c71f3fcb1bdfcc8577..83bcc5975ff12c8945d89950628e5e827a6d20df 100644 (file)
@@ -202,7 +202,7 @@ $(window).on('resize', function(e){
 ### With Delay
 ```js
 // Throttled resize function
-$(window).on('resize', Foundation.utils.throttle(function(e){
+$(window).on('resize', Foundation.util.throttle(function(e){
   // Do responsive stuff
 }, 300));
 ```