Skip to content

Event selectors deprecated and code had to be changed. #12

Description

@nicciniamh

The event selectors, .load, .scroll, etc no longer work in jQuery 3 - to make your library work I changed the to .on('event', etc). See diff below.

`diff ~/StickySort/jquery.stickysort.js jquery.stickysort.js
202,203c202,203
< .load(setWidths)
< .resize($.debounce(settings.resizeThrottle, function () {

  		.on('load',setWidths)
  		.on('resize',$.debounce(settings.resizeThrottle, function () {

207c207
< .scroll($.throttle(settings.scrollThrottle, repositionSticky));

  		.on('scroll',$.throttle(settings.scrollThrottle, repositionSticky));

`

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions