TypeError: Cannot call method 'positionDropdown' of undefined

TypeError: Cannot call method 'positionDropdown' of undefined
$("#select2-drop") is empty