From 20a099ddff9ff6b1c7c9785a745cc50022672318 Mon Sep 17 00:00:00 2001 From: moldyman Date: Mon, 12 May 2014 14:25:26 -0400 Subject: [PATCH] Fixed Reveal Close Dialog method; the settings variable will now default to the default values provided by lib reveal if the settings variable cannot resolve --- js/foundation/foundation.reveal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/foundation/foundation.reveal.js b/js/foundation/foundation.reveal.js index 98f46dfb3..a5742782c 100644 --- a/js/foundation/foundation.reveal.js +++ b/js/foundation/foundation.reveal.js @@ -206,7 +206,7 @@ close : function (modal) { var modal = modal && modal.length ? modal : this.S(this.scope), open_modals = this.S('[' + this.attr_name() + '].open'), - settings = modal.data(this.attr_name(true) + '-init'); + settings = modal.data(this.attr_name(true) + '-init') || this.settings; if (open_modals.length > 0) { this.locked = true; -- 2.47.2