Browse Source

Merge pull request #1013 from ycloud/master

Fix error when use scrollFn
pull/330/merge
Lebedev Konstantin 8 years ago committed by GitHub
parent
commit
6e9ec0adf0
  1. 3
      Sortable.js

3
Sortable.js

@ -92,7 +92,8 @@
_autoScroll = _throttle(function (/**Event*/evt, /**Object*/options, /**HTMLElement*/rootEl) {
// Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=505521
if (rootEl && options.scroll) {
var el,
var _this = rootEl[expando],
el,
rect,
sens = options.scrollSensitivity,
speed = options.scrollSpeed,

Loading…
Cancel
Save