diff options
| author | Jules Laplace <jules@okfoc.us> | 2016-03-30 12:28:25 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2016-03-30 12:28:25 -0400 |
| commit | 1a99f27f5351c9460cc2d03d328ef84e85daf4f1 (patch) | |
| tree | abf0942957041e25ebdb1118648a447fe0d92ff4 /public/assets/js/app.js | |
| parent | e4253978e19458476607461058f705aef3b14115 (diff) | |
| parent | b65a71fb6e34e8988eae5357a6d42ba5bb172539 (diff) | |
merge
Diffstat (limited to 'public/assets/js/app.js')
| -rw-r--r-- | public/assets/js/app.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/public/assets/js/app.js b/public/assets/js/app.js index 22215ae..2151dab 100644 --- a/public/assets/js/app.js +++ b/public/assets/js/app.js @@ -63,10 +63,10 @@ var app = (function() { } app.resize = function(){ - $(".cell, .next, .previous").css({ 'display': 'none' }) + $(".active .cell,.active .next,.active .previous").css({ 'display': 'none' }) $('body').addClass('resizing') debounce(function() { - $(".item").addClass("hidden") + $(".active.item").addClass("hidden") setTimeout(function(){ $(".item").each(function(i){ var height = window.innerHeight - $(this).find(".bottom").height() @@ -75,7 +75,7 @@ var app = (function() { app.view.$el.removeClass("hidden") // $('.top').flickity('resize') $('body').removeClass('resizing') - }, 20) + }, 400) }, 400) } |
