mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-24 16:14:44 +00:00
changed selector from [href] to link[href] for elements that need url-remapping in Firefox. This ensures only stylesheets, but not anchors, are being remapped. Fixes #381
This commit is contained in:
parent
2a68ad6301
commit
aa6f842acc
1 changed files with 1 additions and 1 deletions
|
|
@ -370,7 +370,7 @@
|
|||
//rewrite src and href attrs to use a base url
|
||||
if( !$.support.dynamicBaseTag ){
|
||||
var baseUrl = getBaseURL(fileUrl);
|
||||
to.find('[src],[href]').each(function(){
|
||||
to.find('[src],link[href]').each(function(){
|
||||
var thisAttr = $(this).is('[href]') ? 'href' : 'src',
|
||||
thisUrl = $(this).attr(thisAttr);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue