]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
fixes #7559, adds ability for interchange to initialize Foundation plugins if swappin...
authorChris Oyler <chris@zurb.com>
Thu, 17 Dec 2015 19:45:42 +0000 (11:45 -0800)
committerChris Oyler <chris@zurb.com>
Thu, 17 Dec 2015 19:45:42 +0000 (11:45 -0800)
js/foundation.interchange.js

index 7111eb9dcf1363f8a292a4bdc905678cdb5963c8..1e08a59b6ae860ede6f9ec0a4394d4b02c9f9fe6 100644 (file)
     else {
       $.get(path, function(response) {
         _this.$element.html(response);
+        $(response).foundation();
         _this.$element.trigger('replaced.zf.interchange');
         _this.currentPath = path;
       });