Callback Function Not Firing On Selection In Media Uploader

Embarrassing.

$(mediaUploader).on('select', function(){

Should be:

mediaUploader.on('select', function(){

In case anybody stumbles upon this, $({item}) looks for the item in the DOM, not the variable of the same name in the previous code. Since the select event isn’t firing in the DOM, the callback function isn’t going to fire either.