diff --git a/client/models.js b/client/models.js index 6c73dd8d0..fe76ef814 100755 --- a/client/models.js +++ b/client/models.js @@ -209,7 +209,7 @@ var Article = Backbone.View.extend({ // To not shift the scroll position on remove bumplessRemove: function(){ var pos = $(window).scrollTop(); - if (!at_bottom && this.$el.offset().top < pos) + if (!at_bottom() && this.$el.offset().top < pos) // Not sure why we need the extra 2 pixels, but we do $(window).scrollTop(pos - this.$el.outerHeight() - 2); this.remove();