]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Trigger window resize on open 5701/head
authorJoe Workman <joe@workmanmail.com>
Wed, 27 Aug 2014 23:24:27 +0000 (16:24 -0700)
committerJoe Workman <joe@workmanmail.com>
Wed, 27 Aug 2014 23:24:27 +0000 (16:24 -0700)
Triggering a window resize event when Reveal opens can help when Reveal contains dynamically created content.

js/foundation/foundation.reveal.js

index 0514286191ae6627512dec74c001e385cd1d0566..a4369c7b8ae47b9dcfdef9b5b394774d85da5529 100755 (executable)
           $.ajax(ajax_settings);
         }
       }
+      self.S(window).trigger('resize');
     },
 
     close : function (modal) {