easydigitaldownloads/Easy-Digital-Downloads — pull request #2356 by tollmanz (2014-06-09 19:56:08+00:00)
Title: Apply 100% width to Chosens added dynamically.

When clicking the "Insert Download" button in the WordPress for an editor that is dynamically added to the edit screen, the select box is broken because the CSS fix is not applied to the select box. This issue is caused by the event being improperly delegated. By binding the event to `#post`, it will be applied to WordPress editors that are added dynamically.

Additionally, the `$('#choose-download .edd-select-chosen')` is an inefficient selector and has been improved (test http://jsperf.com/jquery-selector-race).