]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Access correct data attribute for reveal settings 4461/head
authorSimpo <mikessimpson@gmail.com>
Mon, 17 Feb 2014 01:50:19 +0000 (12:50 +1100)
committerSimpo <mikessimpson@gmail.com>
Mon, 17 Feb 2014 01:50:19 +0000 (12:50 +1100)
js/foundation/foundation.reveal.js

index 659bec4fa95d42f918337afcc454d288323b4d4d..7adb2ee0d515419d7ef4d4b38c3d19f8e4b6d5d5 100644 (file)
               self.S(modal).foundation('section', 'reflow');
 
               if (open_modal.length > 0) {
-                var open_modal_settings = open_modal.data(self.attr_name(true));
+                var open_modal_settings = open_modal.data(self.attr_name(true) + '-init');
                 self.hide(open_modal, open_modal_settings.css.close);
               }
               self.show(modal, settings.css.open);