Skip to content

Conversation

@mamzellejuu
Copy link

@mamzellejuu mamzellejuu commented Nov 30, 2016

The script never enter in

slider.on('init', function (sl) {
  if (attrs.onInit) {
    scope.onInit();
  }
  if (currentIndex != null) {
    return sl.slideHandler(currentIndex);
  }
});

The listener should be created before the slick plugin initialization. This will make sure that the event is not run before the listener created

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant