]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fix reveal is not closing on backdrop click if animations are off. 4202/head
authorOliver Kovacs <oliver@gawker.com>
Tue, 21 Jan 2014 16:28:12 +0000 (17:28 +0100)
committerOliver Kovacs <oliver@gawker.com>
Tue, 21 Jan 2014 16:28:12 +0000 (17:28 +0100)
js/foundation/foundation.reveal.js

index c2dc697a12697b9ac9d4ba90efeecb1e440e3b8c..41b4eb165d3a07b04beb16479277068881220175 100644 (file)
@@ -66,7 +66,7 @@
 
       $(this.scope)
         .off('.reveal');
-      
+
       $(document)
         .on('click.fndtn.reveal', this.close_targets(), function (e) {
 
         return el.fadeIn(settings.animation_speed / 2);
       }
 
+      this.locked = false;
+
       return el.show();
     },