diff options
Diffstat (limited to 'public/assets/js/app.js')
| -rw-r--r-- | public/assets/js/app.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/public/assets/js/app.js b/public/assets/js/app.js index 29224fe..56cb4c5 100644 --- a/public/assets/js/app.js +++ b/public/assets/js/app.js @@ -80,7 +80,12 @@ var app = (function() { })() -$(".cell, .next").css({ 'height': ($(".top").height() + 'px') }) +$(".top").each(function(){ + var height = $(this).height() + console.log(height) + $(".cell, .next", this).css({ 'height': (height + 'px') }) +}) + $(".item").addClass("hidden") $('.top').flickity(app.flickity_options).on( 'cellSelect', function(e) { |
