diff --git a/cms/static/js/base.js b/cms/static/js/base.js index 741b017210..dd47f93cce 100644 --- a/cms/static/js/base.js +++ b/cms/static/js/base.js @@ -274,15 +274,6 @@ function expandSection(event) { $(event.delegateTarget).find('.expand-collapse-icon').removeClass('expand').addClass('collapse'); } -function checkDropValidity(event, ui) { - var posInDestination = ui.item.position().top - $(event.target).position().top; - if (posInDestination <= -ui.item.height() || posInDestination >= $(event.target).height()) { - $(event.target).sortable("cancel"); - return false; - } - return true; -} - function onUnitReordered(event, ui) { // a unit's been dropped on this subsection, // figure out where it came from and where it slots in.