Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Oppermann committed May 29, 2015
1 parent c634294 commit 26ad325
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
8 changes: 2 additions & 6 deletions dist/html.sortable.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(function(root, factory) {
;(function(root, factory) {
if (typeof define === 'function' && define.amd) {
define(['jquery'], factory);
} else if (typeof exports === 'object') {
Expand Down Expand Up @@ -242,7 +242,7 @@ var sortable = function(selector, options) {
options = _getOptions($sortable.data('opts'), options);
$sortable.data('opts', options);
// reset sortable
sortable.reload($sortable);
_reloadSortable($sortable);
// initialize
var items = $sortable.children(options.items);
var index;
Expand Down Expand Up @@ -402,10 +402,6 @@ sortable.disable = function(sortable) {
_disableSortable(sortable);
};

sortable.reload = function(sortable) {
_reloadSortable(sortable);
};

$.fn.sortable = function(options) {
return sortable(this, options);
};
Expand Down
2 changes: 1 addition & 1 deletion dist/html.sortable.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 26ad325

Please sign in to comment.