@panoramax/web-viewer 3.1.1-develop-685fe6dd → 3.1.1-develop-fb0e0faf
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -0
- package/build/index.js +1 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
- package/src/viewer/URLHash.js +2 -2
package/package.json
CHANGED
package/src/viewer/URLHash.js
CHANGED
|
@@ -163,7 +163,7 @@ export default class URLHash extends EventTarget {
|
|
|
163
163
|
if(keyvals.s) {
|
|
164
164
|
const shortVals = Object.fromEntries(
|
|
165
165
|
keyvals.s
|
|
166
|
-
.split("
|
|
166
|
+
.split(";")
|
|
167
167
|
.map(kv => [kv[0], kv.substring(1)])
|
|
168
168
|
);
|
|
169
169
|
|
|
@@ -346,7 +346,7 @@ export default class URLHash extends EventTarget {
|
|
|
346
346
|
const short = Object.entries(shortVals)
|
|
347
347
|
.filter(([,v]) => v != undefined && v != "")
|
|
348
348
|
.map(([k,v]) => `${k}${v}`)
|
|
349
|
-
.join("
|
|
349
|
+
.join(";");
|
|
350
350
|
url.hash = `s=${short}`;
|
|
351
351
|
return url;
|
|
352
352
|
}
|