]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fix element outside dom test for ie9
authorKevin Ball <kmball11@gmail.com>
Fri, 14 Oct 2016 21:50:10 +0000 (14:50 -0700)
committerKevin Ball <kmball11@gmail.com>
Fri, 14 Oct 2016 21:50:10 +0000 (14:50 -0700)
test/visual/reveal/element-outside-dom-click.html

index 6075eb680ebd372840811ddae33599ee57ae6f1b..2ae58cd41f783eb862540226a54036475c6120e5 100644 (file)
@@ -19,7 +19,7 @@
 
         <div class="reveal" id="exampleModal1" data-reveal>
           <p>Clicking any of these triggers should close the modal.</p>
-          <p><button class="button" onclick="this.remove();">Click to remove me without closing the reveal!</button>
+          <p><button class="button" onclick="$(this).remove();">Click to remove me without closing the reveal!</button>
         </div>
       </section>
     </div>