mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
Rule of thumb ... get your logic right and your code will behave as you expect.
- I should've been using !== instead === when figuring out docBaseDiffers.
This commit is contained in:
parent
963a84cb18
commit
e286808391
1 changed files with 1 additions and 1 deletions
|
|
@ -329,7 +329,7 @@
|
|||
documentBase = $base.length ? path.parseUrl( path.makeUrlAbsolute( $base.attr( "href" ), documentUrl.href ) ) : documentUrl,
|
||||
|
||||
//cache the comparison once.
|
||||
documentBaseDiffers = ( documentUrl.hrefNoHash === documentBase.hrefNoHash );
|
||||
documentBaseDiffers = ( documentUrl.hrefNoHash !== documentBase.hrefNoHash );
|
||||
|
||||
//base element management, defined depending on dynamic base tag support
|
||||
var base = $.support.dynamicBaseTag ? {
|
||||
|
|
|
|||
Loading…
Reference in a new issue