]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fix typo in reveal appendTo pr
authorKevin Ball <kmball11@gmail.com>
Tue, 1 Nov 2016 16:53:41 +0000 (09:53 -0700)
committerKevin Ball <kmball11@gmail.com>
Tue, 1 Nov 2016 16:53:41 +0000 (09:53 -0700)
js/foundation.reveal.js

index 08366cfb250aeb501534661fa1db5ee3305a90f9..983289d810c06169a853aad2d5f41915dae1edcd 100644 (file)
@@ -85,7 +85,7 @@ class Reveal {
   _makeOverlay(id) {
     var $overlay = $('<div></div>')
                     .addClass('reveal-overlay')
-                    .appendTo('this.options.appendTo');
+                    .appendTo(this.options.appendTo);
     return $overlay;
   }
 
@@ -567,11 +567,11 @@ Reveal.defaults = {
    */
   deepLink: false,
     /**
-   * Allows the modal to append to custom div. 
+   * Allows the modal to append to custom div.
    * @option
    * @example false
    */
-  appendTo: "body"   
+  appendTo: "body"
 
 };