Skip to content
This repository

Popup markup contains `data-container="[object Object]"` #4967

Closed
DzenisevichK opened this Issue September 10, 2012 · 1 comment

3 participants

DzenisevichK Gabriel "_|Nix|_" Schulhof John Bender
DzenisevichK

Open any popup (for example, click on "Open Popup" in http://jquerymobile.com/test/docs/pages/popup/index.html page)

and then via Inspector you may see that opened popup contains data-container="[object Object]" markup...

Windows 7 SP1 x64 + Chrome 21.0.1180.89 m

John Bender

@gabrielschulhof

https://github.com/jquery/jquery-mobile/blob/master/js/widgets/popup.js#L327

Is there a use case this covers? We don't apply these options as data attributes anywhere but in button markup and I believe that was a special case.

That is, I think we can avoid doing this unless it fulfills some important purpose.

John Bender johnbender closed this in e979160 September 10, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.