Tabs widget exhibits odd behavior when it's on a page that is linked to #7169
Description
A bit of a confusing title, sorry.
When a tabs widget is on a page, and I link to that page, it seems that the page is loaded twice. The second time it's loaded, almost the entire page is re-inserted into the DOM near the original tabs widget for the first page load.
Still confused?
Here's a working demonstration. Notice how the page loads twice when clicking the link. If you go to page2.html
directly, there is no issue. Only when the page is loaded via AJAX thru JQM.
The example code is taken almost exactly from the docs page.
I thought maybe the navbar
widget was causing some issues, so I removed that, but it makes no difference.
I have a stack overflow post as well as a jquery mobile forums post on the subject.
I'm either missing something very obvious, or I believe there is a bug in the implementation of the tabs widget or the documentation for the tabs widget.