Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/roryg/ghostwriter.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRory Gibson <rg.rorygibson@gmail.com>2014-01-22 00:50:26 +0400
committerRory Gibson <rg.rorygibson@gmail.com>2014-01-22 00:50:26 +0400
commitee431b2c0f7445e3a832c87c33525c18455d41d1 (patch)
treed2a6eccfca66c0e4ae425273ee771fb08e7d152e
parent13ccdab70c481cdd81e4bb31f484b99da4409797 (diff)
Re run fitvid.js when loading in new content
-rw-r--r--assets/js/scripts.js3
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);