]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
fixes issue where reveal would double up on overlays on reflow
authorzurbchris <chris@zurb.com>
Thu, 3 Dec 2015 17:50:40 +0000 (09:50 -0800)
committerzurbchris <chris@zurb.com>
Thu, 3 Dec 2015 17:50:40 +0000 (09:50 -0800)
js/foundation.reveal.js

index 25a47578dd6be30a0bf1511cfcba8cbd9ca2fa6b..cf4addd7a8b4f947b2e55fffa30910fa4e06b40d 100644 (file)
       this.options.fullScreen = true;
       this.options.overlay = false;
     }
-    if(this.options.overlay){
+    if(this.options.overlay && !this.$overlay){
       this.$overlay = this._makeOverlay(this.id);
     }