loopj/jquery-tokeninput — pull request #529 by 2is10 (2013-05-25 12:32:10+00:00)
Title: appending dropdown to html element if document has no body

HTML4 frameset documents don't have a body.

Appending the dropdown to the html element if there is no body ensures that it will display even in these documents. This commit maintains current behavior (appending it to the body) for modern (non-frameset) HTML documents.

This commit is intended to help third-party scripts (e.g. browser extensions), which don't have a choice about whether a document uses a frameset or a body.