modify jquery css head insert #6
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
jQuery Mobile and jQuery are interesting beasts.
In the jQuery Mobile app, if you insert (via jQuery) a new css, on some browsers it works. On IE10 it doesn't. What happens is that IE10 attempts to reload the css without taking the into consideration. And is used extensively by jQuery Mobile to separate apps.
This modification gets the from the rendered jQuery Mobile page, prepends this to the .css and then uses jQuery to insert the full path into the header.
IE10 (Windows Phone) is happy; have regression tested with Chrome & IE11 (not on phone OK)