NazariyM
6/22/2017 - 6:07 PM

scroll next sect

scroll next sect

scrollNext() {
    this.$more.on('click', function () {
      const $section = $(this).closest('section').next().offset().top;

      $scrolledElements.animate({ scrollTop: $section }, 700);
    });
  }