From: Alessandro Rosa Date: Thu, 14 Jan 2016 13:58:25 +0000 (+0100) Subject: Removed braces from $.ajax call example X-Git-Tag: v6.1.2~66^2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7878%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Removed braces from $.ajax call example jQuery wants an url string or/plus a config object with a set of key/value pairs --- diff --git a/docs/pages/reveal.md b/docs/pages/reveal.md index 2f06ba6a9..2e464d148 100644 --- a/docs/pages/reveal.md +++ b/docs/pages/reveal.md @@ -182,7 +182,7 @@ To use AJAX to load your modal content, use the code snippet below. ```js var $modal = $('#modal'); -$.ajax({'/url'}) +$.ajax('/url') .done(function(resp){ $modal.html(resp.html).foundation('open'); });