Browse Source

fix errors reported by jshint

pull/903/head
anerth 9 years ago
parent
commit
71ea5b82e4
  1. 4
      Sortable.js
  2. 2
      Sortable.min.js

4
Sortable.js

@ -27,7 +27,7 @@
if (typeof window == "undefined" || typeof window.document == "undefined") {
return function () {
throw new Error("Sortable.js requires a window with a document");
}
};
}
var dragEl,
@ -803,7 +803,7 @@
}
if (Sortable.active) {
if (newIndex == null || newIndex === -1) {
if (newIndex === null || newIndex === -1) {
newIndex = oldIndex;
}

2
Sortable.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save