mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-12 16:43:10 +00:00
Corrected logic for locating entities in titles
This commit is contained in:
parent
d7d52544e7
commit
6699dab7d1
1 changed files with 1 additions and 1 deletions
|
|
@ -848,7 +848,7 @@
|
|||
}
|
||||
|
||||
if ( newPageTitle && !page.jqmData( "title" ) ) {
|
||||
if ( newPageTitle.indexOf( "&" ) ) {
|
||||
if ( ~newPageTitle.indexOf( "&" ) ) {
|
||||
newPageTitle = $( "<div>" + newPageTitle + "</div>" ).text();
|
||||
}
|
||||
page.jqmData( "title", newPageTitle );
|
||||
|
|
|
|||
Loading…
Reference in a new issue