@panoramax/web-viewer 4.3.1-develop-f14157a9 → 4.3.1-develop-66fd2665

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panoramax/web-viewer",
3
- "version": "4.3.1-develop-f14157a9",
3
+ "version": "4.3.1-develop-66fd2665",
4
4
  "description": "Panoramax web viewer for geolocated pictures",
5
5
  "main": "build/index.js",
6
6
  "author": "Panoramax team",
@@ -106,8 +106,8 @@ export default class PhotoViewer extends Basic {
106
106
 
107
107
  // Defaults
108
108
  this["psv-options"] = {};
109
- this["url-parameters"] = this.getAttribute("url-parameters") || true;
110
- this["keyboard-shortcuts"] = this.getAttribute("keyboard-shortcuts") || true;
109
+ this["url-parameters"] = this.getAttribute("url-parameters") || "true";
110
+ this["keyboard-shortcuts"] = this.getAttribute("keyboard-shortcuts") || "true";
111
111
  this["skip-tags-menu-opening"] = (this.getAttribute("skip-tags-menu-opening") || "false") !== "true";
112
112
  this["share-base-url"] = this.getAttribute("share-base-url") || null;
113
113
  this.widgets = this.getAttribute("widgets") || "true";
@@ -201,7 +201,7 @@ export default class PhotoViewer extends Basic {
201
201
 
202
202
  this.presetsManager = new PresetManager(this.lang);
203
203
 
204
- if(this["url-parameters"] && this["url-parameters"] !== "false") {
204
+ if(this["url-parameters"] !== "false") {
205
205
  this.urlHandler = new URLHandler(this);
206
206
  this.onceReady().then(() => {
207
207
  this.urlHandler.listenToChanges();