hiroprotagonist/jquery.mobile.actionsheet — Issue #13: bug when moving sheet into content
Author: blq
Created: 2011-10-26 15:33:22+00:00
State: open

I think there's a mistake in the _init code that moves external actionsheets into the current page's content.

```javascript
var currentContent = this.content.parents(':jqmData(role="page")').children(':jqmData(role="content")');
```

It should rather be:

```javascript
var currentContent = this.element.parents(':jqmData(role="page")').children(':jqmData(role="content")');
```

/ Fredrik