Images fails to load because relative path is changed too late #82

Closed
opened 2017-02-03 12:05:34 -05:00 by aurimus · 1 comment
aurimus commented 2017-02-03 12:05:34 -05:00 (Migrated from github.com)

I am using it on a site where the images are loaded with local path <img src="pagename/somepath/image.jpg"/> and what happens is that the pagename does not get updated even though that's what should change. Therefore images don't load.

I am using it on a site where the images are loaded with local path `<img src="pagename/somepath/image.jpg"/>` and what happens is that the `pagename` does not get updated even though that's what should change. Therefore images don't load.
lacrioque commented 2017-11-02 07:00:38 -05:00 (Migrated from github.com)

This seems to be a design issue.
Pjax can only change dom elemtents, it will not change the pagename.
You may change that manually on pjax:complete, or try to render the images differently.

This seems to be a design issue. Pjax can only change dom elemtents, it will not change the pagename. You may change that manually on pjax:complete, or try to render the images differently.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: iLoveElysia/pjax#82