Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanbuchanan committed Feb 23, 2017
1 parent 1c8a356 commit ab6e885
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions animate-gif-thumbnails.html
@@ -0,0 +1,10 @@
<script>
/* Animate GIF Thumbnails */
$(document).ready(function() {
$('.thumbs img[src$=".gif"]').each(function() {
var src = $(this).attr('src');
var src = src.replace('-thumb', '');
$(this).attr('src', src);
});
});
</script>

0 comments on commit ab6e885

Please sign in to comment.