appMobi/jQ.Mobi — pull request #158 by raulvejar (2012-11-20 20:48:39+00:00)
Title: Fixed an issue when loading ajax content a second time fails because of undefined anchor

if the content being loaded is ajax and it was loaded in the past (already existed), then the anchor is needed but its undefined in most cases).
This seems to be a larger problem as the anchor is required to load ajax content. There was already a fix for this for when the content was loaded for the first time but because of how the logic flow of the function went that code only was run the first time. My fixed move the creation of the fake anchor higher up in the code to encompass both cases (first load and repeated load)