Browse Source

fix problem with jshint and exact check of null

pull/903/head
anerth 9 years ago
parent
commit
ac8e1e2bbf
  1. 3
      Sortable.js

3
Sortable.js

@ -803,7 +803,8 @@
} }
if (Sortable.active) { if (Sortable.active) {
if (newIndex === null || newIndex === -1) { /* jshint eqnull:true */
if (newIndex == null || newIndex === -1) {
newIndex = oldIndex; newIndex = oldIndex;
} }

Loading…
Cancel
Save