jquery-tokeninput icon indicating copy to clipboard operation
jquery-tokeninput copied to clipboard

appending dropdown to html element if document has no body

Open 2is10 opened this issue 12 years ago • 0 comments

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.

2is10 avatar May 25 '13 12:05 2is10