update hash bugfix

This commit is contained in:
Leon van Kammen 2024-07-25 09:31:51 +00:00
parent c6ee20bf01
commit bfcaacc099
7 changed files with 10979 additions and 4 deletions

View File

@ -1,5 +1,5 @@
/*
* v0.5.1 generated at Wed Jul 24 12:06:14 PM UTC 2024
* v0.5.1 generated at Thu Jul 25 09:31:00 AM UTC 2024
* https://xrfragment.org
* SPDX-License-Identifier: MPL-2.0
*/
@ -2186,6 +2186,7 @@ xrf.navigator.updateHash = (hash,opts) => {
document.location.hash = hash
xrf.navigator.updateHash.active = true
}
xrf.navigator.updateHash.active = true
xrf.navigator.pushState = (file,hash) => {
if( file == document.location.search.substr(1) ) return // page is in its default state

View File

@ -1,5 +1,5 @@
/*
* v0.5.1 generated at Wed Jul 24 12:06:14 PM UTC 2024
* v0.5.1 generated at Thu Jul 25 09:30:59 AM UTC 2024
* https://xrfragment.org
* SPDX-License-Identifier: MPL-2.0
*/
@ -2184,6 +2184,7 @@ xrf.navigator.updateHash = (hash,opts) => {
document.location.hash = hash
xrf.navigator.updateHash.active = true
}
xrf.navigator.updateHash.active = true
xrf.navigator.pushState = (file,hash) => {
if( file == document.location.search.substr(1) ) return // page is in its default state

View File

@ -2181,6 +2181,7 @@ xrf.navigator.updateHash = (hash,opts) => {
document.location.hash = hash
xrf.navigator.updateHash.active = true
}
xrf.navigator.updateHash.active = true
xrf.navigator.pushState = (file,hash) => {
if( file == document.location.search.substr(1) ) return // page is in its default state

10969
dist/xrfragment.module.js vendored

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
/*
* v0.5.1 generated at Wed Jul 24 12:06:14 PM UTC 2024
* v0.5.1 generated at Thu Jul 25 09:30:59 AM UTC 2024
* https://xrfragment.org
* SPDX-License-Identifier: MPL-2.0
*/
@ -2184,6 +2184,7 @@ xrf.navigator.updateHash = (hash,opts) => {
document.location.hash = hash
xrf.navigator.updateHash.active = true
}
xrf.navigator.updateHash.active = true
xrf.navigator.pushState = (file,hash) => {
if( file == document.location.search.substr(1) ) return // page is in its default state

View File

@ -1,5 +1,5 @@
/*
* v0.5.1 generated at Wed Jul 24 12:06:14 PM UTC 2024
* v0.5.1 generated at Thu Jul 25 09:31:00 AM UTC 2024
* https://xrfragment.org
* SPDX-License-Identifier: MPL-2.0
*/
@ -2184,6 +2184,7 @@ xrf.navigator.updateHash = (hash,opts) => {
document.location.hash = hash
xrf.navigator.updateHash.active = true
}
xrf.navigator.updateHash.active = true
xrf.navigator.pushState = (file,hash) => {
if( file == document.location.search.substr(1) ) return // page is in its default state

View File

@ -164,6 +164,7 @@ xrf.navigator.updateHash = (hash,opts) => {
document.location.hash = hash
xrf.navigator.updateHash.active = true
}
xrf.navigator.updateHash.active = true
xrf.navigator.pushState = (file,hash) => {
if( file == document.location.search.substr(1) ) return // page is in its default state