diff options
author | Rory Gibson <rg.rorygibson@gmail.com> | 2014-01-22 00:50:26 +0400 |
---|---|---|
committer | Rory Gibson <rg.rorygibson@gmail.com> | 2014-01-22 00:50:26 +0400 |
commit | ee431b2c0f7445e3a832c87c33525c18455d41d1 (patch) | |
tree | d2a6eccfca66c0e4ae425273ee771fb08e7d152e | |
parent | 13ccdab70c481cdd81e4bb31f484b99da4409797 (diff) |
Re run fitvid.js when loading in new content
-rw-r--r-- | assets/js/scripts.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/assets/js/scripts.js b/assets/js/scripts.js index 2bf2418..01735a6 100644 --- a/assets/js/scripts.js +++ b/assets/js/scripts.js @@ -65,6 +65,9 @@ jQuery(function($) { $postIndex.hide(); } + // Re run fitvid.js + $newContent.fitVids(); + $ajaxContainer.html($newContent); $ajaxContainer.fadeIn(500); |