adding title to selectors results in full page loading #231
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is my simple pjax code:
If
titledoes not exist in the above code, everything work fine (title of page does not change).But If I add
titleto theselectors(such as the above), I have a full page loading!My DOM is same and I can use jquery-pjax lib successfully.
what is the problem?
@BigGitWorld I’m running in to a similar issue and can’t seem to figure out what’s going on, were you able to sort this out?
Just adding a followup: I think the issue may have been an embed on the page, perhaps Pjax is detecting multiple titles? At any rate, I added a class to the
<title>tag like so:<title class="site-title">and then used the selectortitle.site-titlein the options and this seemed to clear it up.