Use existing thumbs for channel content #162

Merged
bones7242 merged 10 commits from use-existing-thumbs into master 2017-09-12 03:04:47 +02:00
2 changed files with 1 additions and 24 deletions
Showing only changes of commit df2ee1b026 - Show all commits

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,4 @@
<script src="/vendors/masonry/masonry.pkgd.min.js"></script> <div class="full">
<div class="full">
<h2>Trending</h2> <h2>Trending</h2>
<p><i>The 25 most popular assets on spee.ch</i></p> <p><i>The 25 most popular assets on spee.ch</i></p>
<div class="grid" data-masonry='{ "itemSelector": ".grid-item" }'> <div class="grid" data-masonry='{ "itemSelector": ".grid-item" }'>
@ -25,15 +23,3 @@
</div> </div>
</div> </div>
<script>
var elem = document.querySelector('.grid');
var msnry = new Masonry( elem, {
itemSelector: '.grid-item'
});
function resetTrendingLayout() {
msnry.layout();
}
</script>