Browse Source

Fix the missing 'var' syntax

The var syntax is missing. Added to explicitly define local variable.
pull/560/head
fendy3002 9 years ago
parent
commit
6c86b334d2
  1. 2
      knockout-sortable.js

2
knockout-sortable.js

@ -36,7 +36,7 @@
}.bind(undefined, e, viewModel, allBindings, options[e]);
});
sortableElement = Sortable.create(element, options);
var sortableElement = Sortable.create(element, options);
//Destroy the sortable if knockout disposes the element it's connected to
ko.utils.domNodeDisposal.addDisposeCallback(element, function () {

Loading…
Cancel
Save