Skip to content

Commit

Permalink
House keeping and removing duplicate call to customSortable as it is …
Browse files Browse the repository at this point in the history
…now in application.js
  • Loading branch information
baphled committed Jul 1, 2010
1 parent 3dc32e8 commit a5a471d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions public/javascripts/sortable_list.js
Expand Up @@ -13,7 +13,6 @@ $(document).ready(function() {
});

$.fn.customSortable = function() {

// if no handlers are rendered we don't need an order button
if ($('span.handler').size() > 1) {
$button = $("<button>")
Expand Down Expand Up @@ -41,7 +40,4 @@ $(document).ready(function() {
}
});
}

// sort our list
$('div#lists ul').customSortable();
});

0 comments on commit a5a471d

Please sign in to comment.